OLD | NEW |
1 # Forward requests to the local builbot master | |
2 location / | 1 location / |
3 { | 2 { |
4 proxy_pass http://127.0.0.1:8010/; | 3 proxy_set_header X-Real-IP $remote_addr; |
5 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 4 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
6 proxy_set_header X-Real-IP $remote_addr; | |
7 proxy_set_header X-Forwarded-Proto $scheme; | 5 proxy_set_header X-Forwarded-Proto $scheme; |
8 proxy_set_header Host $http_host; | 6 proxy_set_header Host $http_host; |
| 7 proxy_http_version 1.1; |
| 8 proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:; |
9 } | 9 } |
10 | 10 |
OLD | NEW |