1 Star 0 Fork 0

jacky/giv_tcp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ingress.conf 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
#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;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jacky1995/giv_tcp.git
git@gitee.com:jacky1995/giv_tcp.git
jacky1995
giv_tcp
giv_tcp
dev3

搜索帮助

0d507c66 1850385 C8b1a773 1850385