Index: modules/rietveld/files/site.conf |
=================================================================== |
--- a/modules/rietveld/files/site.conf |
+++ b/modules/rietveld/files/site.conf |
@@ -1,4 +1,8 @@ |
location / |
{ |
- proxy_pass http://localhost:8000/; |
+ proxy_pass http://localhost:8080/; |
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
+ proxy_set_header X-Real-IP $remote_addr; |
+ proxy_set_header X-Forwarded-Proto $scheme; |
+ proxy_set_header Host $http_host; |
} |