[Ejabberd] Require s2s TLS, enforce protocols and ciphers, move admin UI (WIP)

master
andryyy 2021-02-14 10:47:50 +01:00
parent 38e5dc37d2
commit 9febe4e86b
1 changed files with 12 additions and 3 deletions

View File

@ -29,6 +29,12 @@ define_macro:
- "cipher_server_preference" - "cipher_server_preference"
- "no_compression" - "no_compression"
c2s_ciphers: 'TLS_CIPHERS'
s2s_ciphers: 'TLS_CIPHERS'
c2s_protocol_options: 'TLS_OPTIONS'
s2s_protocol_options: 'TLS_OPTIONS'
s2s_use_starttls: required
new_sql_schema: true new_sql_schema: true
sql_type: sqlite sql_type: sqlite
sql_database: /sqlite/sqlite.db sql_database: /sqlite/sqlite.db
@ -66,8 +72,13 @@ listen:
ip: "::" ip: "::"
module: ejabberd_http module: ejabberd_http
request_handlers: request_handlers:
/admin: ejabberd_web_admin
/api: mod_http_api /api: mod_http_api
-
port: 5282
ip: "::"
module: ejabberd_http
request_handlers:
/xmpp: ejabberd_web_admin
- -
module: ejabberd_http module: ejabberd_http
port: 5281 port: 5281
@ -79,8 +90,6 @@ listen:
module: mod_mqtt module: mod_mqtt
backlog: 1000 backlog: 1000
s2s_use_starttls: optional
acme: acme:
auto: true auto: true