Explorar o código

nginx config bugfix (query params) -> readme)

Bachir Soussi Chiadmi %!s(int64=4) %!d(string=hai) anos
pai
achega
8505ea611f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;