nordabiz/debug-headers.conf
2026-01-01 14:01:49 +01:00

10 lines
393 B
Plaintext

# Debug: Log all IP-related variables
# Add this temporarily to see what nginx receives
# Log real IP detection
add_header X-Debug-Remote-Addr $remote_addr always;
add_header X-Debug-X-Forwarded-For $http_x_forwarded_for always;
add_header X-Debug-X-Real-IP $http_x_real_ip always;
add_header X-Debug-Real-Client-IP $real_client_ip always;
add_header X-Debug-Maintenance $maintenance always;