Answer the question
In order to leave comments, you need to log in
How to make nginx understand symbolic links in root (document_root)?
The nginx config has this:
root /web/website.com/current/
where current is a symbolic link to another section.
permissions are 777 all the way and the owner is nginx, but still 404 page in the browser.
In logs why that failed (13: Permission denied).
If the symbolic link is replaced with a normal section, everything is ok.
added disable_symlinks off; but didn't help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question