Dockerfile icon indicating copy to clipboard operation
Dockerfile copied to clipboard

x-forwarded-for header in logs

Open ne4u opened this issue 5 years ago • 1 comments

To capture x-forwarded-for in logs, I'd recommend changing /opt/docker/etc/nginx/vhost.common.d/10-log.conf

to:

access_log /docker.stdout main; error_log /docker.stderr warn;

ne4u avatar Dec 22 '20 17:12 ne4u

+1

mtdmdigitalswsrl avatar Aug 31 '23 16:08 mtdmdigitalswsrl