Rodja Trappe 2 年之前
父节点
当前提交
564b0827d0
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      examples/nginx_subpath/nginx.conf

+ 0 - 4
examples/nginx_subpath/nginx.conf

@@ -48,10 +48,6 @@ http {
             proxy_set_header Authorization $http_authorization;
             proxy_pass_header  Authorization;
 
-            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-            proxy_set_header Host $host;
-            proxy_read_timeout 86400;
-
             proxy_pass http://app:8080/$1?$args;
             proxy_set_header X-Forwarded-Prefix /nicegui/$1/;
         }