Skip to content

Instantly share code, notes, and snippets.

View trapcodeio's full-sized avatar
🏠
Working from home

Anthony (Trapcode) trapcodeio

🏠
Working from home
View GitHub Profile
{
"application/vnd.lotus-1-2-3": [".123"],
"text/vnd.in3d.3dml": [".3dml"],
"video/3gpp2": [".3g2"],
"video/3gpp": [".3gp"],
"application/octet-stream": [
".a",
".bin",
".bpk",
".deploy",
@windsting
windsting / nginx-stat-failed-13-permission-denied.md
Last active July 30, 2024 13:50
fix: Nginx: stat() failed (13: permission denied)

Nginx: stat() failed (13: permission denied)

from https://stackoverflow.com/questions/25774999/nginx-stat-failed-13-permission-denied

Nginx operates within the directory, so if you can't cd to that directory from the nginx user then it will fail (as does the stat command in your log). Make sure the www-user can cd all the way to the /username/test/static. You can confirm that the stat will fail or succeed by running

sudo -u www-data stat /username/test/static