Compare commits

...

2 Commits

Author SHA1 Message Date
woliver99
1d6dbc69e7
Merge 0480b88e5776f3e435e53084899071469e0ce413 into 34c703f8b4146d3db27b4815a935de603cf07391 2025-02-05 17:55:19 -05:00
woliver99
0480b88e57
Switch from X-Real-IP to X-Forwarded-For in nginx.conf
X-Forwarded-For is more commonly used across various proxies and load balancers, including Cloudflare, which does not use X-Real-IP.
2024-08-13 00:16:58 -04:00

View File

@ -66,7 +66,7 @@ http {
# NPM generated CDN ip ranges:
include conf.d/include/ip_ranges.conf;
# always put the following 2 lines after ip subnets:
real_ip_header X-Real-IP;
real_ip_header X-Forwarded-For;
real_ip_recursive on;
# Custom