Add necessary proxy headers with proxy_set_header, like X-Forwarded-For
Showing
1 changed file
with
3 additions
and
1 deletions
| ... | @@ -74,9 +74,11 @@ | ... | @@ -74,9 +74,11 @@ |
| 74 | - field: Host | 74 | - field: Host |
| 75 | value: $host | 75 | value: $host |
| 76 | - field: X-Forwarded-For | 76 | - field: X-Forwarded-For |
| 77 | value: $remote_addr | 77 | value: $proxy_add_x_forwarded_for |
| 78 | - field: X-Forwarded-Proto | 78 | - field: X-Forwarded-Proto |
| 79 | value: $scheme | 79 | value: $scheme |
| 80 | - field: X-Real-IP | ||
| 81 | value: $remote_addr | ||
| 80 | sub_filter: | 82 | sub_filter: |
| 81 | sub_filters: | 83 | sub_filters: |
| 82 | #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