Przeglądaj źródła

fixed forward prefix

Rodja Trappe 2 lat temu
rodzic
commit
b673358316
1 zmienionych plików z 1 dodań i 1 usunięć
  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/;
         }
     }
 }