Left: | ||
Right: |
LEFT | RIGHT |
---|---|
(no file at all) | |
1 # Forward requests to the local builbot master | |
1 location / | 2 location / |
2 { | 3 { |
3 proxy_pass http://localhost:8080/; | 4 proxy_pass http://127.0.0.1:8010/; |
4 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 5 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
5 proxy_set_header X-Real-IP $remote_addr; | 6 proxy_set_header X-Real-IP $remote_addr; |
6 proxy_set_header X-Forwarded-Proto $scheme; | 7 proxy_set_header X-Forwarded-Proto $scheme; |
7 proxy_set_header Host $http_host; | 8 proxy_set_header Host $http_host; |
8 } | 9 } |
10 | |
LEFT | RIGHT |