diff options
author | perburn <perburn@users.noreply.github.com> | 2015-12-04 20:53:25 +0100 |
---|---|---|
committer | perburn <perburn@users.noreply.github.com> | 2015-12-04 20:53:25 +0100 |
commit | 1250e745e43385b421af6ce226fcca5616336b70 (patch) | |
tree | b2369e0b3462570f5fa7a3d94e9eaf8ffe052b5b /doc | |
parent | 2c547fd0053d1d05e951fdc358cde9f66b7f69fa (diff) |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nice-urls.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |