This commit is contained in:
2025-08-26 17:28:20 +07:00
parent ecf29a42d1
commit 34b0f9690d

View File

@@ -2,7 +2,7 @@ events {}
http {
server {
listen 80;
server_name hypoxie-admin-xui.duckdns.org;
server_name hypoxie-v-web-pannel.duckdns.org;
location / {
proxy_pass http://hypoxie-3x-ui:2053/;
@@ -12,15 +12,13 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
}
}
server {
listen 80;
server_name hypoxie-xui.duckdns.org;
server_name j-v-web-panel.duckdns.org;
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_pass http://jorj-3x-ui:2053/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -38,15 +36,6 @@ http {
listen 80 default_server;
server_name _; # ловит все остальные домены
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;
}
return 301 https://adoptapet.ru/cats/;
}
}