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