Apps with multiple domains
-
It would be nice, and useful in some case, that Cloudron App support multiple domain and not just only redirection.
I see some potential issue with some application like Matrix, but for apps like Nextcloud it is simply a matter of adding the domain in nginx and Nextcloud configuration.
Here an example; just to be sure, we understand the same thing:
- cloud.domain1.tld
- cloud.domain2.tld
- cloud.domain3.tld
would all answer the queries without being redirected to cloud.domain1.tld
What do you think ?
-
@jodumont For apps that require multiple domains from the get-go i.e they require multiple domains at installations time, this is part of the next release (7.1) - https://forum.cloudron.io/topic/5982/what-s-coming-in-cloudron-7-1 .
Many (most?) apps can only handle being configured with a single domain. There is usually an
APP_ORIGIN
or equivalent setting that can only be set to one domain and is not an array. It is used by the app to set up CORS headers, generate static links, email links etc.