Index: modules/discourse_docker/files/site.conf |
diff --git a/modules/adblockplus/files/nginx/buildmaster.conf b/modules/discourse_docker/files/site.conf |
similarity index 66% |
copy from modules/adblockplus/files/nginx/buildmaster.conf |
copy to modules/discourse_docker/files/site.conf |
index 5f516fad73b2269e4e56f85893e9f2c0016862da..6e4495ca0997b366671938192273e852d03e540d 100644 |
--- a/modules/adblockplus/files/nginx/buildmaster.conf |
+++ b/modules/discourse_docker/files/site.conf |
@@ -1,10 +1,10 @@ |
-# Forward requests to the local builbot master |
location / |
{ |
- proxy_pass http://127.0.0.1:8010/; |
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
proxy_set_header X-Real-IP $remote_addr; |
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
proxy_set_header X-Forwarded-Proto $scheme; |
proxy_set_header Host $http_host; |
+ proxy_http_version 1.1; |
+ proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:; |
} |