mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Merge pull request #661 from flammable/uptime-kuma-status-pages
Adds section for Uptime Kuma status pages
This commit is contained in:
commit
d8253f3c1e
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 dns has a cname set for uptime-kuma
|
||||
|
||||
|
@ -43,4 +43,14 @@ server {
|
|||
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