This commit is contained in:
2025-08-25 14:53:24 +07:00
parent a30c137529
commit 688f2421d6

View File

@@ -1,21 +1,26 @@
events {}
http { http {
server {
listen 80;
server_name hypoxie-admin-xui.duckdns.org;
server { location / {
listen 80; proxy_pass http://hypoxie-3x-ui:2053/;
server_name hypoxie-admin-xui.duckdns.org; proxy_set_header Host $host;
location / { proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://hypoxie-3x-ui:2053/; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} proxy_set_header X-Forwarded-Proto $scheme;
} }
}
server {
listen 80;
server_name hypoxie-xui.duckdns.org;
server { location / {
listen 80; proxy_pass http://hypoxie-3x-ui:80/;
server_name hypoxie-xui.duckdns.org; proxy_set_header Host $host;
location / { proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://hypoxie-3x-ui:80/; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} proxy_set_header X-Forwarded-Proto $scheme;
} }
}
} }