You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
fosspay/contrib/nginx.conf

24 lines
528 B

# This is my nginx configuration
# Yours will look different. This is just an example.
server {
listen 80;
listen [::]:80;
server_name drewdevault.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl spdy;
listen [::]:443 ssl spdy default_server ipv6only=on;
server_name drewdevault.com;
location / {
proxy_pass http://sircmpwn.github.io;
proxy_redirect http:// https://;
}
location /donate/ {
proxy_pass http://127.0.0.1:5000/;
}
}