From 1250e745e43385b421af6ce226fcca5616336b70 Mon Sep 17 00:00:00 2001 From: perburn Date: Fri, 4 Dec 2015 20:53:25 +0100 Subject: Fix for #1352 based on #1460 Fixes https://github.com/fguillot/kanboard/issues/1352 by implementing the changes suggested in https://github.com/fguillot/kanboard/issues/1460 --- doc/nice-urls.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/nice-urls.markdown b/doc/nice-urls.markdown index 82292889..ace3b337 100644 --- a/doc/nice-urls.markdown +++ b/doc/nice-urls.markdown @@ -51,7 +51,7 @@ In the section `server` of your Nginx config file you can use this example: index index.php; location / { - try_files $uri $uri/ /index.php; + try_files $uri $uri/ /index.php$is_args$args; # If Kanboard is under a subfolder # try_files $uri $uri/ /kanboard/index.php; @@ -61,6 +61,7 @@ location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php5-fpm.sock; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; include fastcgi_params; } -- cgit v1.2.3