I am running Ubuntu 22.04 server. I have installed Nginx Amplify. In my /var/log/amplify-agent/agent.log I am getting permissions errors with letsencrypt certificates.
cat /var/log/amplify-agent/agent.log
2023-08-28 20:34:50,140 [8851] supervisor ssl certificate found /etc/letsencrypt/live/example.com/fullchain.pem
2023-08-28 20:34:50,140 [8851] supervisor could not read /etc/letsencrypt/live/example.com/fullchain.pem (maybe permissions?)
2023-08-28 20:34:50,943 [8851] supervisor failed to initialize pipeline for "/var/log/nginx/access.log" due to PermissionError (maybe has no rights?)
2023-08-28 20:34:50,953 [8851] supervisor failed to initialize pipeline for "/var/log/nginx/mail.example.com.access.log" due to PermissionError (maybe has no rights?)
2023-08-28 20:34:50,954 [8851] supervisor failed to initialize pipeline for "/var/log/nginx/mail.example.com.error.log" due to PermissionError (maybe has no rights?)
How can I fix all of these permissions errors so nginx can view my certificates from letsencrypt? Also, how can I fix the pipeline errors?
Thanks in advance for any help.
Dan
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx