Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Accepted Answer
I have the same problem but still with no success, when I type cat /var/log/nginx/error.log I get cat: /var/log/nginx/error.log: Permission denied
I think the problem is the user of the folder, is not root, is www-data :
rails@mydroplet:/var/log$ ls -la
shows
drwxr-x--- 2 www-data adm 4096 mai 21 06:39 nginx
what is this user? how can I solve, I can not access with sudo (root user)
thanks
Hi there,
Just came across this question in 2020. Here are some suggestions for anyone who might need this:
Here is a link to an answer on how to troubleshoot common Nginx problems:
And here is also a quick video demo on how to do that as well:
Regards, Bobby