OLD | NEW |
1 location / | 1 location / |
2 { | 2 { |
3 proxy_pass http://localhost:8080/; | 3 proxy_pass http://localhost:8080/; |
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-Real-IP $remote_addr; | 5 proxy_set_header X-Real-IP $remote_addr; |
6 proxy_set_header X-Forwarded-Proto $scheme; | 6 proxy_set_header X-Forwarded-Proto $scheme; |
7 proxy_set_header Host $http_host; | 7 proxy_set_header Host $http_host; |
8 } | 8 } |
OLD | NEW |