nginx: disable symlinks only if_not_owner
This commit is contained in:
parent
77d88b0290
commit
70b7589493
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
disable_symlinks on from=$document_root;
|
||||
disable_symlinks if_not_owner from=$document_root;
|
||||
|
||||
# Do not serve dotfiles.
|
||||
location ~ /\. {
|
||||
|
|
Loading…
Reference in a new issue