Add necessary proxy headers with proxy_set_header, like X-Forwarded-For, fix
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -75,10 +75,10 @@ | ... | @@ -75,10 +75,10 @@ |
| 75 | value: $host | 75 | value: $host |
| 76 | - field: X-Forwarded-For | 76 | - field: X-Forwarded-For |
| 77 | value: $proxy_add_x_forwarded_for | 77 | value: $proxy_add_x_forwarded_for |
| 78 | - field: X-Forwarded-Proto | ||
| 79 | value: $scheme | ||
| 80 | - field: X-Real-IP | 78 | - field: X-Real-IP |
| 81 | value: $remote_addr | 79 | value: $remote_addr |
| 80 | - field: X-Forwarded-Proto | ||
| 81 | value: $scheme | ||
| 82 | sub_filter: | 82 | sub_filter: |
| 83 | sub_filters: | 83 | sub_filters: |
| 84 | #This is necessary for vue_firmador_api.war, to allow local connections to websocket in 127.0.0.1 with only http | 84 | #This is necessary for vue_firmador_api.war, to allow local connections to websocket in 127.0.0.1 with only http | ... | ... |
-
Please register or sign in to post a comment