nginx: disable symlinks only if_not_owner

This commit is contained in:
Alexander Dietrich 2018-11-17 21:23:45 +01:00
parent 77d88b0290
commit 70b7589493

View file

@ -1,4 +1,4 @@
disable_symlinks on from=$document_root;
disable_symlinks if_not_owner from=$document_root;
# Do not serve dotfiles.
location ~ /\. {