Actually keep using $uri for DokuWiki stuff since otherwise it breaks
To be investigated if the $uri issue also applies for try_files.
This commit is contained in:
parent
6787c7c0d7
commit
81c8bfe16b
|
@ -46,7 +46,7 @@ server {
|
|||
expires 365d;
|
||||
}
|
||||
|
||||
location / { try_files $request_uri $request_uri/ @dokuwiki; }
|
||||
location / { try_files $uri $uri/ @dokuwiki; }
|
||||
|
||||
location @dokuwiki {
|
||||
# rewrites "doku.php/" out of the URLs if you set the userwrite setting to .htaccess in dokuwiki config page
|
||||
|
@ -57,7 +57,7 @@ server {
|
|||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $request_uri $request_uri/ /doku.php;
|
||||
try_files $uri $uri/ /doku.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param REDIRECT_STATUS 200;
|
||||
|
|
Loading…
Reference in a new issue