You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add reverse proxy IP header support for web server logging
Added:
- getClientIP helper function to extract real client IPs from proxy
headers
- X-Real-IP header parsing (higher priority)
- X-Forwarded-For header parsing with comma-separated IP support
- Security check to only trust headers from localhost connections
Changed:
- Web request logging to use getClientIP instead of r.RemoteAddr
- Log output now shows real client IPs when behind trusted reverse
proxy
0 commit comments