From 2a1bbdb38a95fd87fe061f121e215e522a1ed61f Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 2 Mar 2023 12:01:23 +0000 Subject: [PATCH] Drop hosting docs --- docs/config.md | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/docs/config.md b/docs/config.md index 589879722c..7ebb84e8d5 100644 --- a/docs/config.md +++ b/docs/config.md @@ -421,39 +421,6 @@ There are additional root-level options which can be specified: and is useful when the provider of analytics is different from the provider of the Element instance. 2. `privacy_policy_url`: URL to the privacy policy including the analytics collection policy. -## Server hosting links - -If you would like to encourage matrix.org users to sign up for a service like [Element Matrix Services](https://element.io/matrix-services/server-hosting), -the following configuration options can be set. Note that if the options are missing from the configuration then the hosting prompts -will not be shown to the user. - -1. `hosting_signup_link`: Optional URL to link the user to when talking about "Upgrading your account". Will contain a query parameter - of `utm_campaign` to denote which link the user clicked on within the app. Only ever applies to matrix.org users specifically. -2. `host_signup`: Optional configuration for an account importer to your hosting platform. The API surface of this is not documented - at the moment, but can be configured with the following subproperties: - 1. `brand`: The brand name to use. - 2. `url`: The iframe URL for the importer. - 3. `domains`: The homeserver domains to show the importer to. - 4. `cookie_policy_url`: The URL to the cookie policy for the importer. - 5. `privacy_policy_url`: The URL to the privacy policy for the importer. - 6. `terms_of_service_url`: The URL to the terms of service for the importer. - -If you're looking to mirror a setup from our production/development environments, the following config should be used: - -```json -{ - "hosting_signup_link": "https://element.io/matrix-services?utm_source=element-web&utm_medium=web", - "host_signup": { - "brand": "Element Home", - "domains": ["matrix.org"], - "url": "https://ems.element.io/element-home/in-app-loader", - "cookie_policy_url": "https://element.io/cookie-policy", - "privacy_policy_url": "https://element.io/privacy", - "terms_of_service_url": "https://element.io/terms-of-service" - } -} -``` - ## Miscellaneous Element supports other options which don't quite fit into other sections of this document.