浏览代码

fixed forward prefix

Rodja Trappe 2 年之前
父节点
当前提交
b673358316
共有 1 个文件被更改,包括 1 次插入1 次删除
  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/;
         }
     }
 }