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;
|
||||||
|
}
|
|
@ -215,8 +215,13 @@ nodes['htz.ex42-1048908'] = {
|
||||||
'php': True,
|
'php': True,
|
||||||
},
|
},
|
||||||
'wiki.franzi.business': {
|
'wiki.franzi.business': {
|
||||||
'index': 'index.php',
|
'index': 'doku.php',
|
||||||
|
'extras': True,
|
||||||
'php': True,
|
'php': True,
|
||||||
|
'webroot_config': {
|
||||||
|
'owner': 'www-data',
|
||||||
|
'group': 'www-data',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'worker_processes': 4,
|
'worker_processes': 4,
|
||||||
|
|
Loading…
Reference in a new issue