Skip to content

Commit

Permalink
Adds section for status pages
Browse files Browse the repository at this point in the history
  • Loading branch information
flammable committed Mar 26, 2024
1 parent 6b2e31a commit 9506810
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion uptime-kuma.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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;

}
}

0 comments on commit 9506810

Please sign in to comment.