X-Git-Url: http://git.purplebirdman.com/proxy.git/blobdiff_plain/d33aa9fa9f6c080680f73b38824025228fa8ac67..81a9e33496ffa9dcc82c5352030fb61db2142f9e:/nginx.conf diff --git a/nginx.conf b/nginx.conf index f3c2f23..814ac00 100644 --- a/nginx.conf +++ b/nginx.conf @@ -6,17 +6,17 @@ events { http { server { - listen 80; server_name public.purplebirdman.online; location / { proxy_pass http://public_web; + proxy_set_header Host $host; } } server { - listen 80; server_name forum.purplebirdman.online; location / { proxy_pass http://forum_web; + proxy_set_header Host $host; } } }