From c61bcd7e436cadbbfadc26302b5d20ef3ff824da Mon Sep 17 00:00:00 2001 From: HypoxiE Date: Mon, 25 Aug 2025 18:22:22 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B9=20x-ui=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 58d3c6e..2bcfc5f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,7 +5,7 @@ http { server_name hypoxie-admin-xui.duckdns.org; location / { - proxy_pass http://hypoxie-3x-ui:2053/; + proxy_pass http://hypoxie-3x-ui:54321/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -18,6 +18,13 @@ http { location / { proxy_pass http://hypoxie-3x-ui:80/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; } }