Nginx-proxy-manager: How to collect access logs?

Created on 23 Apr 2019  Â·  6Comments  Â·  Source: jc21/nginx-proxy-manager

Hello , Thanks for your sharing . How can I collect access logs because I want to know who have accessed my server , and I want to know their IP address, please help

product-support

Most helpful comment

The access logs for each host created by NPM is available in the data directory you should be mounting. eg data/logs/proxy_host-10.log

All 6 comments

@jc21

Not sure, but I think you can mount a host directory to /var/log/nginx. For instance:
docker run -d \
--name nginx-proxy-manager-app \
-p 80:80 \
-p 81:81 \
-p 443:443 \
-v /path/to/config.json:/app/config/production.json \
-v /path/to/logs:/var/log/ninx \
-v /path/to/data:/data \
-v /path/to/letsencrypt:/etc/letsencrypt \
jc21/nginx-proxy-manager:latest-armhf

The access logs for each host created by NPM is available in the data directory you should be mounting. eg data/logs/proxy_host-10.log

Any idea where I can find these log files in Hassio addon?

@ncm-lfc searching for the same. Have you found the logs?

@ncm-lfc @b2az Did you find them?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dgeordgy21 picture dgeordgy21  Â·  3Comments

spoolr picture spoolr  Â·  5Comments

xanthos84 picture xanthos84  Â·  4Comments

Kranzy picture Kranzy  Â·  7Comments

obxjames picture obxjames  Â·  6Comments