No votes yet
Hi team, I have a feature request/feedback regarding access logs for Nixpacks/Nginx services. Currently, when deploying static/Nginx sites with Nixpacks, the generated nginx.conf only logs the internal Docker overlay IP (e.g. 10.11.0.x) instead of the actual visitor public IP.
Traefik already sends the real IP in the X-Forwarded-For header, but Nginx inside the container uses the default remote_addr log format and doesn't read the header. As a result, in the Easypanel service Logs tab, all requests appear to come from the internal Docker IP.
Could Easypanel/Nixpacks include the real_ip configuration by default in the generated nginx.conf? For example:
set_real_ip_from 10.0.0.0/8; set_real_ip_from 172.16.0.0/12; set_real_ip_from 192.168.0.0/16; real_ip_header X-Forwarded-For; real_ip_recursive on;
This would allow all services to automatically show the real visitor IP in the Easypanel dashboard out of the box. Thank you!
No comments yet. Log in to leave a comment.