nodes/htz.ex42-1048908: update nginx config for wiki.franzi.business
This commit is contained in:
parent
48cc865892
commit
f36e36d74a
2 changed files with 18 additions and 1 deletions
|
@ -0,0 +1,12 @@
|
|||
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue