I have built and run a docker image from
linuxserver/letsencrypt, I volumed my own nginx configurations in
/config/nginx/site-confs/default and it is working properly with my nginx config.
Now I want to see nginx logs but
/var/logs/nginx/access.log is empty,
/var/log/nginx/error.log only contains this line:
[emerg] 479#479: open() "/run/nginx/nginx.pid" failed (2: No such file or directory)
I don’t know if this error is causing anything because nginx is still working properly.
Also, when I run
docker logs -f docker_image_name I get letsencrypt logs and not nginx logs, which contains some lines related to the very first moment that everything is configured fine and certificate is created.
I want to see logs from requests that come to nginx on this docker but I don’t know if they exist anywhere and if they do, where to find them.