Where is nginx access.log?

I have been doing some digging and have found a few nginx config files in /local-sites/mysite and ~/.conf/Local/. I cannot find access log reference so I try adding it with the following.

access_log "/logs/nginx/access.log" warn;

I have tried several variations of the path but still always get a 502 error. Any help would be appreciated.

Hi @seashell

We would be happy to assist with your Local troubleshooting! Could you provide some more details to help us take a further look?

  • What is your OS?

  • What version of Local are you on?

  • Please attach a copy of your Local Logs

Keep us posted and we’d be happy to help further!

Thanks for the reply. After looking at this, fresh this morning, I realized I was putting quotes around the path. That was the problem. Quotes are not expected in the config.

1 Like

Nice catch! Thank you for sharing @seashell in case someone else runs into this :green_heart:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.