diff --git a/playbooks/files/chaosknoten/configs/wiki/nginx/wiki.hamburg.ccc.de.conf b/playbooks/files/chaosknoten/configs/wiki/nginx/wiki.hamburg.ccc.de.conf index fd4e10c..ccdd224 100644 --- a/playbooks/files/chaosknoten/configs/wiki/nginx/wiki.hamburg.ccc.de.conf +++ b/playbooks/files/chaosknoten/configs/wiki/nginx/wiki.hamburg.ccc.de.conf @@ -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;