diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2024-06-08 23:31:06 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2024-06-08 23:31:06 +0200 |
commit | 2ebdc54ea23cb57e1fa7ee03420e3f34dca2363e (patch) | |
tree | c8e710abee097a5823e9b71966f4974a3cdb9623 /nginx/pie_in_the_sky_kitchen.sls | |
parent | d190afd6d525e66587e0f7c46b308de524afb4cc (diff) | |
download | pillar-2ebdc54ea23cb57e1fa7ee03420e3f34dca2363e.tar.xz |
Stop including old X-Forwarded-For and include port
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx/pie_in_the_sky_kitchen.sls')
-rw-r--r-- | nginx/pie_in_the_sky_kitchen.sls | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/pie_in_the_sky_kitchen.sls b/nginx/pie_in_the_sky_kitchen.sls index 4f42d5f..86fd52c 100644 --- a/nginx/pie_in_the_sky_kitchen.sls +++ b/nginx/pie_in_the_sky_kitchen.sls @@ -65,6 +65,6 @@ nginx: - proxy_set_header: X-Forwarded-Proto https - proxy_set_header: X-Forwarded-Host $host - proxy_set_header: X-Forwarded-Server $host - - proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for + - proxy_set_header: 'X-Forwarded-For $remote_addr:$remote_port' # vim: ft=yaml et: |