Skip to content

Commit 9506810

Browse files
committed
Adds section for status pages
1 parent 6b2e31a commit 9506810

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

uptime-kuma.subdomain.conf.sample

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2023/05/31
1+
## Version 2024/03/26
22
# make sure that your uptime-kuma container is named uptime-kuma
33
# make sure that your dns has a cname set for uptime-kuma
44

@@ -43,4 +43,14 @@ server {
4343
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4444

4545
}
46+
47+
location ~ /(status|assets|icon.svg) {
48+
include /config/nginx/proxy.conf;
49+
include /config/nginx/resolver.conf;
50+
set $upstream_app uptime-kuma;
51+
set $upstream_port 3001;
52+
set $upstream_proto http;
53+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54+
55+
}
4656
}

0 commit comments

Comments
 (0)