Index: modules/discourse_docker/files/site.conf |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/modules/discourse_docker/files/site.conf |
@@ -0,0 +1,10 @@ |
+location / |
+{ |
+ 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:; |
+} |
+ |
f.lopez
2017/01/03 20:22:45
this can be accomplished with the nginx::hostconfi
|