Browse Source

fixed forward prefix

Rodja Trappe 2 năm trước cách đây
mục cha
commit
b673358316
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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/;
         }
     }
 }