feat: Adds a hint for cors headers in default prosody config.

This commit is contained in:
Дамян Минков 2022-03-28 11:14:20 -05:00
parent 66153087e1
commit 4db7312d53
1 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,16 @@ cross_domain_bosh = false;
consider_bosh_secure = true;
-- https_ports = { }; -- Remove this line to prevent listening on port 5284
-- by default prosody 0.12 sends cors headers, if you want to disable it uncomment the following (the config is available on 0.12.1)
--http_cors_override = {
-- bosh = {
-- enabled = false;
-- };
-- websocket = {
-- enabled = false;
-- };
--}
-- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4
ssl = {
protocol = "tlsv1_2+";