Explorar o código

fixed forward prefix

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
b673358316
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/nginx_subpath/nginx.conf

+ 1 - 1
examples/nginx_subpath/nginx.conf

@@ -50,7 +50,7 @@ http {
             proxy_pass_header  Authorization;
 
             proxy_pass http://app:8080/$1?$args;
-            proxy_set_header X-Forwarded-Prefix /nicegui/$1/;
+            proxy_set_header X-Forwarded-Prefix /nicegui/;
         }
     }
 }