After installing EA-NGINX on my server, the Apache Access Logs for all of my domains remain empty. Attempting to download or view the Access Logs in my cPanel gives empty files as well.
When using the EA-NGINX packages on your server, connections to your websites are proxied to Apache from NGINX. Connections that are proxied internally like this are not logged in the Apache access log, and thus the Apache access log will be empty. Instead, all connections are logged in the NGINX access log.
To view the NGINX access logs, please see the following article: Where are the NGINX logs?
Due to this, the following interfaces do not work with NGINX:
- cPanel’s Visitors interface (cPanel >> Home >> Metrics >> Visitors)
- cPanel’s Errors interface (cPanel >> Home >> Metrics >> Errors)
- cPanel’s Raw Access interface (cPanel >> Home >> Metrics >> Raw Access)
Further information on this is outlined in our documentation regarding NGINX here: https://docs.cpanel.net/knowledge-base/web-services/nginx-with-reverse-proxy/#log-files