LEFT | RIGHT |
1 location / | 1 location / |
2 { | 2 { |
3 proxy_set_header X-Real-IP $remote_addr; | 3 proxy_set_header X-Real-IP $remote_addr; |
4 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 4 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
5 proxy_set_header X-Forwarded-Proto $scheme; | 5 proxy_set_header X-Forwarded-Proto $scheme; |
6 proxy_set_header Host $http_host; | 6 proxy_set_header Host $http_host; |
7 proxy_http_version 1.1; | 7 proxy_http_version 1.1; |
8 proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:; | 8 proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:; |
9 } | 9 } |
10 | 10 |
LEFT | RIGHT |