Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChaoyi Zha <summermontreal@gmail.com>2016-08-10 02:10:13 +0300
committerGitHub <noreply@github.com>2016-08-10 02:10:13 +0300
commitf471005080a97349559c0e098f31208202d8dd6d (patch)
tree1fcbebd3b6c861d96ce5bdf15b6c71b11185e139 /docs
parentfe3dd766e72003e9f3d978eda41ecc3b37a6444e (diff)
Resolve bug with query string & nginx
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide/installation.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user-guide/installation.md b/docs/user-guide/installation.md
index ff005fb..63ec33e 100644
--- a/docs/user-guide/installation.md
+++ b/docs/user-guide/installation.md
@@ -120,8 +120,8 @@ server {
# Recommended for public, internet-facing, websites.
location / {
- try_files $uri $uri/ /index.php?$query_string;
- rewrite ^/([a-zA-Z0-9]+)/?$ /index.php?$1;
+ try_files $uri $uri/ /index.php$is_args$args;
+ # rewrite ^/([a-zA-Z0-9]+)/?$ /index.php?$1;
}
location ~ \.php$ {
@@ -146,8 +146,8 @@ server {
# server_name example.com;
#
# location / {
-# try_files $uri $uri/ /index.php?$query_string;
-# rewrite ^/([a-zA-Z0-9]+)/?$ /index.php?$1;
+# try_files $uri $uri/ /index.php$is_args$args;
+# # rewrite ^/([a-zA-Z0-9]+)/?$ /index.php?$1;
# }
#
# location ~ \.php$ {