mirror of https://git.sr.ht/~sircmpwn/fosspay
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.
24 lines
528 B
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/;
|
|
}
|
|
}
|
|
|