diff options
-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; } |