mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
Adds section for status pages
This commit is contained in:
parent
6b2e31a42b
commit
9506810c4e
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
## Version 2023/05/31
|
## Version 2024/03/26
|
||||||
# make sure that your uptime-kuma container is named uptime-kuma
|
# make sure that your uptime-kuma container is named uptime-kuma
|
||||||
# make sure that your dns has a cname set for uptime-kuma
|
# make sure that your dns has a cname set for uptime-kuma
|
||||||
|
|
||||||
|
@ -43,4 +43,14 @@ server {
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ /(status|assets|icon.svg) {
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
|
include /config/nginx/resolver.conf;
|
||||||
|
set $upstream_app uptime-kuma;
|
||||||
|
set $upstream_port 3001;
|
||||||
|
set $upstream_proto http;
|
||||||
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue