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:
parent
2c547fd005
commit
1250e745e4
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue