We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b95c9 commit 0f7ea97Copy full SHA for 0f7ea97
install/0.9.7/rhel/nginx.conf
@@ -55,10 +55,6 @@ http {
55
gzip_proxied any;
56
57
58
- # Symlinks protection
59
- disable_symlinks if_not_owner;
60
-
61
62
# Proxy settings
63
proxy_redirect off;
64
proxy_set_header Host $host;
install/0.9.7/rhel/templates/web/nginx/default.tpl
@@ -28,6 +28,8 @@ server {
28
location ~ /\.hg/ {return 404;}
29
location ~ /\.bzr/ {return 404;}
30
31
+ disable_symlinks if_not_owner from=%docroot%;
32
+
33
include %home%/%user%/conf/web/nginx.%domain%.conf*;
34
}
35
0 commit comments