From 243ba57382ed967fc3fa49530eb0a0098a0df508 Mon Sep 17 00:00:00 2001 From: Ali Mohammad rezai <alireza2756@gmail.com> Date: Mon, 15 Jul 2024 17:00:40 +0300 Subject: [PATCH] :pencil: Add Documentation for userContentBaseUrl Configuration in Upptime configuration.md (#53) * Update configuration.md add userContentBaseUrl to configuration doc * Update docs/configuration.md --------- Co-authored-by: Anand Chowdhary <github@anandchowdhary.com> --- docs/configuration.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 63475e6..a8ad6b3 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -445,6 +445,16 @@ status-website: apiBaseUrl: https://api.github.com ``` +#### Custom raw content URL + +By default, Upptime uses https://raw.githubusercontent.com to fetch raw content from GitHub repositories. If you are using a proxy or another content delivery URL, you can replace the default user content base URL. + +```yaml +status-website: + userContentBaseUrl: https://raw.githubusercontent.com +``` + + ### Internationalization Though our status page is in English, you can use any language with Upptime by supplying the required strings. The list of all required strings is available in [`upptime/status-page/i18n.yml`](https://github.com/upptime/status-page/blob/master/i18n.yml), and you can add them under the i18n key in the configuration file: