bundlewrap/data/nginx/files/extras/htz.ex42-1048908/wiki.franzi.business
Franzi fbb8840dff
All checks were successful
bundlewrap/pipeline/head This commit looks good
add .editorconfig, format files correctly
2021-02-17 10:56:18 +01:00

13 lines
409 B
Plaintext

location ~ /(data|conf|bin|inc|vendor)/ {
deny all;
}
location / { try_files $uri $uri/ @dokuwiki; }
location @dokuwiki {
rewrite ^/_media/(.*) /lib/exe/fetch.php?media=$1 last;
rewrite ^/_detail/(.*) /lib/exe/detail.php?media=$1 last;
rewrite ^/_export/([^/]+)/(.*) /doku.php?do=export_$1&id=$2 last;
rewrite ^/(.*) /doku.php?id=$1&$args last;
}