proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Host $host;
parameter 'None' for 'Real IP Source' does'n disable 'X-Real-IP' and 'X-Forwarded-' headers
server { listen 127.0.0.1:1080; server_name my.server.address; include feecb877-0831-4efa-8005-e26b0dde555f_pre/*.conf;location / { BasicRule wl:19; DeniedUrl "/waf_denied.html"; autoindex off; http2_push_preload on; proxy_set_header Host $host; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_buffer_size 8k; proxy_buffers 8 8k; proxy_busy_buffers_size 32k; proxy_set_header X-TLS-Cipher $ssl_cipher; proxy_set_header X-TLS-Protocol $ssl_protocol; proxy_set_header X-TLS-SNI-Host $ssl_server_name; # proxy headers for backend server proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-TLS-Client-Intercepted $tls_intercepted; proxy_read_timeout 10s; proxy_send_timeout 10s; proxy_ignore_client_abort on; proxy_request_buffering on; proxy_max_temp_file_size 1024m; proxy_buffering on; proxy_pass http://upstream5fa240aef8aa4a9f895a4959a40bbbbb; proxy_hide_header X-Powered-By; include 9370ea92-2ab9-45b4-b244-ceb86baa2887_post/*.conf; } include feecb877-0831-4efa-8005-e26b0dde555f_post/*.conf;}
/usr/local/etc/nginx/feecb877-0831-4efa-8005-e26b0dde555f_pre/myheaders.conf/usr/local/etc/nginx/9370ea92-2ab9-45b4-b244-ceb86baa2887_post/myheaders.conf/usr/local/etc/nginx/feecb877-0831-4efa-8005-e26b0dde555f_post/myheaders.conf
more_set_input_headers 'X-Forwarded-Port: 80';