]> Untitled Git - proxy.git/commitdiff
Added set header for bb login
authorClifton Palmer <cliftonpalmer@pop-os>
Sun, 16 Jun 2019 21:50:11 +0000 (16:50 -0500)
committerClifton Palmer <cliftonpalmer@pop-os>
Sun, 16 Jun 2019 21:50:11 +0000 (16:50 -0500)
nginx.conf

index 41d51d7b0f26be2e0d6c8ffb6f0ecf487b3d8268..814ac0004fcfbe983ea23e43ffccb35cd875b77f 100644 (file)
@@ -8,13 +8,15 @@ http {
     server {
         server_name public.purplebirdman.online;
         location / {
     server {
         server_name public.purplebirdman.online;
         location / {
-            proxy_pass http://public_web:80;
+            proxy_pass http://public_web;
+            proxy_set_header Host $host;
         }
     }
     server {
         server_name forum.purplebirdman.online;
         location / {
         }
     }
     server {
         server_name forum.purplebirdman.online;
         location / {
-            proxy_pass http://forum_web:80;
+            proxy_pass http://forum_web;
+            proxy_set_header Host $host;
         }
     }
 }
         }
     }
 }