aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCamil Staps2015-02-07 20:57:07 +0100
committerCamil Staps2015-02-07 20:57:07 +0100
commit7c719c7506850d8285f7f3b0466816293c056597 (patch)
tree8579049c66e1d5459a061fe2947938de12a9bfab /README.md
parentconverted 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.md10
1 files changed, 2 insertions, 8 deletions
diff --git a/README.md b/README.md
index a010ea9..b2399f0 100644
--- a/README.md
+++ b/README.md
@@ -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.