Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

drbob's avatar
Level 2

Monitor incoming requests in Nginx access log?

Hi, we're running Forge (PHP version 7.0) and I'm trying to get some insights on the incoming requests on our app. I've checked the logs in /var/log/nginx and also activated papertrailapp, but neither show the plain old access log data.

Nginx is fairly new to me (always been using Apache) so suggestions in the right direction appreciated :-) Thanks!

0 likes
1 reply
Anchovy's avatar

Know this is an old post - but by default new 'sites' in Forge don't log access - it's disabled in the Nginx Configuration.

To enable simply edit the 'Nginx Configuration' for you site and change the line

    access_log off;

to

    access_log /var/log/nginx/www.xxx.com-access.log;
3 likes

Please or to participate in this conversation.