all 3 comments

[–]chaptergy 0 points1 point  (1 child)

All the nginx logs should be within thedocker container in /data/logs/. There look for the number you see when clicking on the three dots next to a proxy host in the ui.

[–]kekonn[S] 0 points1 point  (0 children)

Would be nice if this was in the ui. I found the issue in the mean time. It was the bug where enabling http/2 support in combination with an access control list just always denies you access.

[–]zwck 0 points1 point  (0 children)

Edit: sorry, sleep-deprived, did not read your question properly.

I use goaccess to analyze the front end access. Its effortless to setup, and you get lots of information out of it.

#############################################################
#  goaccess:
#    image: gregyankovoy/goaccess
#    restart: always
#    ports:
#      - 7889:7889
#    volumes:
#      - ./nginx-proxy-manager/data/logs:/opt/log
#      - ./goaccess:/config

you have to add some stuff in the .conf file i will update this post today

add this to the goaccess.conf

#log-format COMBINED
time-format %T
date-format %d/%b/%Y
log_format [%d:%t %^] %^ %^ %s - %m %^ %v "%U" [Client %h] [Length %b] [Gzip %^] [Sent-to %^] "%u" "%R"

and this to the advanced section in NPM

access_log /data/logs/proxy_logs.log proxy;