Browse Source

nginx config bugfix (query params) -> readme)

Bachir Soussi Chiadmi 3 years ago
parent
commit
8505ea611f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -104,7 +104,7 @@ server {
   charset utf-8;
 
   location ~/api(.*)$ {
-    proxy_pass http://127.0.0.1:8984$1;
+    proxy_pass http://127.0.0.1:8984$1$is_args$args;
     #proxy_set_header Host $host;
     proxy_set_header X-Real-IP $remote_addr;
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;