From 9506810c4ecc4aba1101a8789048e4fbb6cef57b Mon Sep 17 00:00:00 2001 From: Mike Solin Date: Tue, 26 Mar 2024 01:58:10 -0400 Subject: [PATCH] Adds section for status pages --- uptime-kuma.subdomain.conf.sample | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; + + } }