diff --git a/Status-Page.md b/Status-Page.md index 5406b52..ce1d848 100644 --- a/Status-Page.md +++ b/Status-Page.md @@ -31,3 +31,29 @@ Now you can show different status pages based on the domain names. This is my example, they both are from the same instance: - https://status.louislam.net - https://status.kuma.pet + +## Custom Subdirectory / custom html on status pages + +> [!CAUTION] +> For the following to work the [environment variable `UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN=true`](https://github.com/louislam/uptime-kuma/wiki/Environment-Variables) needs to be set. +> This allows other pages to include Uptime Kuma as an `iframe` and makes you vulnerable to [`clickjacking`](https://en.wikipedia.org/wiki/Clickjacking). + +Changing the subdirectory of Uptime Kuma is tracked in https://github.com/louislam/uptime-kuma/pull/1092 +Embedding `script`s/`meta`-tags/... into Uptime Kuma is tracked in https://github.com/louislam/uptime-kuma/issues/3115 + +A solution to get around this limitation is to utilise an `iframe`. +Here is an example of how to configure this (replacing `INSERT_{...}_HERE` with your own values): + +```html +
+ + + + +