mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-05-04 05:00:39 +00:00
Environment variables for subdomains
This commit is contained in:
parent
32fbf2c8db
commit
b3d3eee131
4 changed files with 31 additions and 9 deletions
10
conf.d/04-server_contact_info.cfg.lua
Normal file
10
conf.d/04-server_contact_info.cfg.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
local domain = os.getenv("DOMAIN")
|
||||
|
||||
contact_info = {
|
||||
abuse = { "xmpp:abuse@" .. domain };
|
||||
admin = { "xmpp:admin@" .. domain };
|
||||
feedback = { "xmpp:feedback@" .. domain };
|
||||
sales = { "xmpp:sales@" .. domain };
|
||||
security = { "xmpp:security@" .. domain };
|
||||
support = { "xmpp:support@" .. domain };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue