log_not_found off;
deny all;
}
-
+
location ~ ~$ {
# deny access to temp editor files, e.g. "script.php~"
access_log off;
include fastcgi.conf;
}
+ location ~ /doc/ {
+ default_type "text/html";
+ try_files $uri $uri/ $uri.html =404;
+ }
+
location ~ \.php$ {
# deny access to all other PHP scripts
deny all;