diff options
| author | Camil Staps | 2015-02-07 20:57:07 +0100 | 
|---|---|---|
| committer | Camil Staps | 2015-02-07 20:57:07 +0100 | 
| commit | 7c719c7506850d8285f7f3b0466816293c056597 (patch) | |
| tree | 8579049c66e1d5459a061fe2947938de12a9bfab /README.md | |
| parent | converted indent to spaces; improved readability; removed obsolete todos (diff) | |
Removing trailing slashes is no longer necessary
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 | 
1 files changed, 2 insertions, 8 deletions
| @@ -11,15 +11,9 @@ Its intuitive interface lets you use it efficiently from the start. See the Usag  *	If you're going to use this application for sensitive data, you should seriously consider using HTTPS. -*	We need to remove trailing slashes from requests. For nginx, this means something like: +*	Every request that is not a file or directory itself should link back to /index.php. The query string should be left intact. For nginx, this means: -		rewrite ^/(.*)/$ /$1 permanent; - -	In the appropriate server / location block. - -*	Every request that is not a file itself should link back to /index.php. The query string should be left intact. For nginx, this means: - -		try_files $uri /index.php$is_args$query_string; +		try_files $uri $uri/ /index.php$is_args$query_string;  	In the appropriate location block. | 
