diff --git a/Server/conf/nginx.conf b/Server/conf/nginx.conf index 968a9a4..fb08930 100644 --- a/Server/conf/nginx.conf +++ b/Server/conf/nginx.conf @@ -36,10 +36,6 @@ http { server 127.0.0.1:8082; } - upstream gitea { - server 127.0.0.1:8083; - } - upstream frp_http_proxy { server 127.0.0.1:8084; } @@ -321,7 +317,8 @@ http { location / { proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; - proxy_pass http://gitea; + proxy_set_header Host $http_host; + proxy_pass http://frp_http_proxy; } }