add some location directives for dokuwiki
This commit is contained in:
parent
0d09eae129
commit
f7bdbcd297
@ -168,6 +168,9 @@
|
|||||||
- ssl_stapling on
|
- ssl_stapling on
|
||||||
- resolver 8.8.8.8 valid=300s
|
- resolver 8.8.8.8 valid=300s
|
||||||
- add_header Strict-Transport-Security max-age=31536000
|
- add_header Strict-Transport-Security max-age=31536000
|
||||||
|
- location ~ /(data|conf|bin|inc)/ {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
- location / {
|
- location / {
|
||||||
try_files $uri $uri/ /index.php?$args;
|
try_files $uri $uri/ /index.php?$args;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user