Browse Source

everybody sets $host correctly now

master
Charles Reid 7 years ago
parent
commit
6e09a946d6
  1. 12
      conf.d/https.red.charlesreid1.conf

12
conf.d/https.red.charlesreid1.conf

@ -36,32 +36,28 @@ server { @@ -36,32 +36,28 @@ server {
location /wiki/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
#proxy_set_header Host $host;
proxy_set_header Host https://charlesreid1.red;
proxy_set_header Host $host;
proxy_pass http://stormy_mw:8989/wiki/;
}
location /wiki {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
#proxy_set_header Host $host;
proxy_set_header Host https://charlesreid1.red;
proxy_set_header Host $host;
proxy_pass http://stormy_mw:8989/wiki;
}
location /w/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
#proxy_set_header Host $host;
proxy_set_header Host https://charlesreid1.red;
proxy_set_header Host $host;
proxy_pass http://stormy_mw:8989/w/;
}
location /w {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
#proxy_set_header Host $host;
proxy_set_header Host https://charlesreid1.red;
proxy_set_header Host $host;
proxy_pass http://stormy_mw:8989/w;
}

Loading…
Cancel
Save