Dynamically configure new vhosts for ejabberd #100
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I just found a way that we could do this: write a new vhost config file and then only write one additional line to the main config:
https://docs.ejabberd.im/admin/configuration/#include-additional-configuration-files
It's also possible to blacklist or whitelist options that can be set in the additional file. Furthermore, we can define macros to re-use shared options.
(That still doesn't solve the TLS certificate question for main domains, of course.)
Tadaaa, the solution for TLS certs:
https://letsencrypt.org/2019/10/09/onboarding-your-customers-with-lets-encrypt-and-acme.html
I think this is the way to go, unless I'm missing something.
That looks like a great solution indeed
Dynamically configure new vhoststo Dynamically configure new vhosts for ejabberd