_
This commit is contained in:
39
nginx.conf
39
nginx.conf
@@ -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;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user