[Nginx] Deny inc/lib location
parent
6db004bc79
commit
eec75690e0
|
@ -88,6 +88,11 @@
|
||||||
return 301 /SOGo/dav;
|
return 301 /SOGo/dav;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ^~ /inc/lib/ {
|
||||||
|
deny all;
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
|
|
Loading…
Reference in New Issue