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
This commit is contained in:
perburn 2015-12-04 20:53:25 +01:00
parent 2c547fd005
commit 1250e745e4
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}