Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/discourse_docker/files/site.conf

Issue 29370691: Issue 4234 - New discourse module based on docker (Closed)
Patch Set: Created Jan. 3, 2017, 4:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « no previous file | modules/discourse_docker/manifests/init.pp » ('j') | modules/discourse_docker/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld