]> Untitled Git - proxy.git/blobdiff - nginx.conf
Added set header for bb login
[proxy.git] / nginx.conf
index 96a568611e59c39ed018b3a007b68edd42cea4e9..814ac0004fcfbe983ea23e43ffccb35cd875b77f 100644 (file)
@@ -6,10 +6,17 @@ events {
 
 http {
     server {
 
 http {
     server {
-        listen 80;
         server_name public.purplebirdman.online;
         location / {
             proxy_pass http://public_web;
         server_name public.purplebirdman.online;
         location / {
             proxy_pass http://public_web;
+            proxy_set_header Host $host;
+        }
+    }
+    server {
+        server_name forum.purplebirdman.online;
+        location / {
+            proxy_pass http://forum_web;
+            proxy_set_header Host $host;
         }
     }
 }
         }
     }
 }