diff --git a/uptime-kuma.subdomain.conf.sample b/uptime-kuma.subdomain.conf.sample index d9223cdeb..b269db0bd 100644 --- a/uptime-kuma.subdomain.conf.sample +++ b/uptime-kuma.subdomain.conf.sample @@ -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; + + } }