代码拉取完成,页面将自动刷新
#upstream settings {
# server http://127.0.0.1:6345/settings;
# server http://127.0.0.1:6346/settings backup;
# server http://127.0.0.1:6347/settings backup;
# server http://127.0.0.1:6348/settings backup;
# server http://127.0.0.1:6349/settings backup;
#}
server {
listen 8099;
listen 8098 ssl;
# allow 172.30.32.2;
# deny all;
ssl_certificate /ssl/fullchain.pem;
ssl_certificate_key /ssl/privkey.pem;
access_log /dev/null;
error_log /dev/null;
root /app/ingress;
# Use a backup server for settings, in case
# someone doesn't use slot 1 and config page won't work
# location = /REST1/settings {
# proxy_pass settings;
# }
location /REST1/ {
proxy_pass http://127.0.0.1:6345/;
}
location /REST2/ {
proxy_pass http://127.0.0.1:6346/;
}
location /REST3/ {
proxy_pass http://127.0.0.1:6347/;
}
location /REST4/ {
proxy_pass http://127.0.0.1:6348/;
}
location /REST5/ {
proxy_pass http://127.0.0.1:6349/;
}
location /dashboard/ {
proxy_pass http://127.0.0.1:3000/;
}
location /rq/ {
proxy_pass http://127.0.0.1:9181/;
}
location / {
index index.html;
try_files $uri $uri/ /index.html;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header Origin "";
# #proxy_pass /;
# proxy_redirect '/' '/api/hassio_ingress/Sh0KGb4ov2KVn9o-o9PskOkIO_4HtHc3p63Y1aWJOGg';
# sub_filter 'href="/' 'href="/api/hassio_ingress/Sh0KGb4ov2KVn9o-o9PskOkIO_4HtHc3p63Y1aWJOGg/';
# sub_filter '<script src="/' '<script src="/api/hassio_ingress/Sh0KGb4ov2KVn9o-o9PskOkIO_4HtHc3p63Y1aWJOGg/';
# sub_filter "top.location.href='" "top.location.href='/api/hassio_ingress/Sh0KGb4ov2KVn9o-o9PskOkIO_4HtHc3p63Y1aWJOGg";
#
# sub_filter_once off;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。