add some location directives for dokuwiki

This commit is contained in:
staticsafe 2017-01-14 04:08:03 +00:00
parent 0d09eae129
commit f7bdbcd297
1 changed files with 3 additions and 0 deletions

View File

@ -168,6 +168,9 @@
- ssl_stapling on
- resolver 8.8.8.8 valid=300s
- add_header Strict-Transport-Security max-age=31536000
- location ~ /(data|conf|bin|inc)/ {
deny all;
}
- location / {
try_files $uri $uri/ /index.php?$args;
}