This commit is contained in:
Fijxu 2023-01-22 15:38:27 -03:00
parent 58db76e8e3
commit 74746263fe
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ server {
include configs/securityheaders.conf;
include configs/general.conf;
root /usr/share/webapps/dokuwiki;
root /opt/dokuwiki;
index doku.php;
#Remember to comment the below out when you are installing DokuWiki, and uncomment it when you are done.
# location ~ /(data/|conf/|bin/|inc/|install.php) { deny all; } # secure Dokuwiki
location ~ /(data/|conf/|bin/|inc/|install.php) { deny all; } # secure Dokuwiki
location ~^/\.ht { deny all; } # also secure the Apache .htaccess files
location @dokuwiki {