Cleaning config file.
This commit is contained in:
parent
bd91abc5b8
commit
fce0e7c63c
@ -95,10 +95,9 @@ async function getProsodyConfig (options: RegisterServerOptions): Promise<Prosod
|
|||||||
logger.debug('Calling getProsodyConfig')
|
logger.debug('Calling getProsodyConfig')
|
||||||
|
|
||||||
const port = '5280'
|
const port = '5280'
|
||||||
const peertubePort = '9000' // FIXME
|
|
||||||
const peertubeDomain = 'localhost'
|
const peertubeDomain = 'localhost'
|
||||||
const paths = await getProsodyFilePaths(options)
|
const paths = await getProsodyFilePaths(options)
|
||||||
const logMode: LogMode = 'debug' // FIXME: remove debug mode, and use info
|
const logMode: LogMode = 'info'
|
||||||
const content = `
|
const content = `
|
||||||
|
|
||||||
admins = { }
|
admins = { }
|
||||||
@ -124,9 +123,9 @@ modules_disabled = {
|
|||||||
|
|
||||||
allow_registration = false
|
allow_registration = false
|
||||||
|
|
||||||
daemonize = false;
|
daemonize = false
|
||||||
|
|
||||||
pidfile = "${paths.pid}";
|
pidfile = "${paths.pid}"
|
||||||
|
|
||||||
c2s_require_encryption = false
|
c2s_require_encryption = false
|
||||||
|
|
||||||
@ -140,11 +139,11 @@ log = {
|
|||||||
-- { levels = { "error" }; to = "syslog"; };
|
-- { levels = { "error" }; to = "syslog"; };
|
||||||
}
|
}
|
||||||
|
|
||||||
cross_domain_bosh = false;
|
cross_domain_bosh = false
|
||||||
consider_bosh_secure = true;
|
consider_bosh_secure = true
|
||||||
cross_domain_websocket = false;
|
cross_domain_websocket = false
|
||||||
consider_websocket_secure = true;
|
consider_websocket_secure = true
|
||||||
https_ports = {};
|
https_ports = { }
|
||||||
|
|
||||||
VirtualHost "localhost"
|
VirtualHost "localhost"
|
||||||
trusted_proxies = { "127.0.0.1", "::1" }
|
trusted_proxies = { "127.0.0.1", "::1" }
|
||||||
@ -157,9 +156,7 @@ VirtualHost "localhost"
|
|||||||
"ping";
|
"ping";
|
||||||
}
|
}
|
||||||
http_host = "${peertubeDomain}"
|
http_host = "${peertubeDomain}"
|
||||||
http_external_url = "http://${
|
http_external_url = "http://${peertubeDomain}"
|
||||||
peertubePort ? peertubeDomain + ':' + peertubePort : peertubeDomain
|
|
||||||
}"
|
|
||||||
|
|
||||||
Component "room.localhost" "muc"
|
Component "room.localhost" "muc"
|
||||||
restrict_room_creation = "local"
|
restrict_room_creation = "local"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user