forked from mirror/prosody
fix: add variables to global vhost
This commit is contained in:
parent
0eaf173701
commit
265fc16063
2 changed files with 6 additions and 4 deletions
|
@ -20,6 +20,11 @@ https_ssl = {
|
||||||
}
|
}
|
||||||
|
|
||||||
VirtualHost (domain)
|
VirtualHost (domain)
|
||||||
|
|
||||||
|
turn_external_host = os.getenv("TURN_EXTERNAL_HOST") or "turn" .. domain;
|
||||||
|
turn_external_port = os.getenv("TURN_EXTERNAL_PORT") or 3478;
|
||||||
|
turn_external_secret = os.getenv("TURN_EXTERNAL_SECRET");
|
||||||
|
|
||||||
disco_items = {
|
disco_items = {
|
||||||
{ domain_http_upload },
|
{ domain_http_upload },
|
||||||
}
|
}
|
||||||
|
@ -50,6 +55,3 @@ Component (domain_pubsub) "pubsub"
|
||||||
|
|
||||||
-- Set TURN server information.
|
-- Set TURN server information.
|
||||||
|
|
||||||
turn_external_host = os.getenv("TURN_EXTERNAL_HOST") or "turn" .. domain;
|
|
||||||
turn_external_port = os.getenv("TURN_EXTERNAL_PORT") or 3478;
|
|
||||||
turn_external_secret = os.getenv("TURN_EXTERNAL_SECRET");
|
|
||||||
|
|
|
@ -236,7 +236,7 @@ sudo chown 999:999 ./data
|
||||||
| **SERVER_CONTACT_INFO_SECURITY** | A list of strings. Each string should be an URI. See [here](https://prosody.im/doc/modules/mod_server_contact_info). | *optional* | "xmpp:security@**DOMAIN**" |
|
| **SERVER_CONTACT_INFO_SECURITY** | A list of strings. Each string should be an URI. See [here](https://prosody.im/doc/modules/mod_server_contact_info). | *optional* | "xmpp:security@**DOMAIN**" |
|
||||||
| **SERVER_CONTACT_INFO_SUPPORT** | A list of strings. Each string should be an URI. See [here](https://prosody.im/doc/modules/mod_server_contact_info). | *optional* | "xmpp:support@**DOMAIN**" |
|
| **SERVER_CONTACT_INFO_SUPPORT** | A list of strings. Each string should be an URI. See [here](https://prosody.im/doc/modules/mod_server_contact_info). | *optional* | "xmpp:support@**DOMAIN**" |
|
||||||
| **TURN_EXTERNAL_HOST** | The external hostname for the TURN server. | *optional* | "turn.**DOMAIN**" |
|
| **TURN_EXTERNAL_HOST** | The external hostname for the TURN server. | *optional* | "turn.**DOMAIN**" |
|
||||||
| **TURN_EXTERNAL_PORT** | The external port for the TURN server. | *optional* | "" |
|
| **TURN_EXTERNAL_PORT** | The external port for the TURN server. | *optional* | "3478" |
|
||||||
| **TURN_EXTERNAL_SECRET** | The external secret for the TURN server. | *optional* | "" |
|
| **TURN_EXTERNAL_SECRET** | The external secret for the TURN server. | *optional* | "" |
|
||||||
| **PROSODY_ADMINS** | Specify who is an administrator. List of adresses. Eg. "me@example.com", "admin@example.net" | *optional* | "" |
|
| **PROSODY_ADMINS** | Specify who is an administrator. List of adresses. Eg. "me@example.com", "admin@example.net" | *optional* | "" |
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue