@@ -1,5 +1,6 @@
|
||||
{{ $LOG_LEVEL := .Env.LOG_LEVEL | default "info" }}
|
||||
{{ $XMPP_PORT := .Env.XMPP_PORT | default "5222" -}}
|
||||
{{ $ENABLE_IPV6 := .Env.ENABLE_IPV6 | default "true" | toBool -}}
|
||||
|
||||
-- Prosody Example Configuration File
|
||||
--
|
||||
@@ -113,6 +114,11 @@ c2s_require_encryption = false
|
||||
|
||||
-- set c2s port
|
||||
c2s_ports = { {{ $XMPP_PORT }} } -- Listen on specific c2s port
|
||||
{{ if $ENABLE_IPV6 }}
|
||||
c2s_interfaces = { "*", "::" }
|
||||
{{ else }}
|
||||
c2s_interfaces = { "*" }
|
||||
{{ end }}
|
||||
|
||||
-- Force certificate authentication for server-to-server connections?
|
||||
-- This provides ideal security, but requires servers you communicate
|
||||
@@ -180,7 +186,11 @@ unbound = {
|
||||
}
|
||||
|
||||
http_ports = { 5280 }
|
||||
{{ if $ENABLE_IPV6 }}
|
||||
http_interfaces = { "*", "::" }
|
||||
{{ else }}
|
||||
http_interfaces = { "*" }
|
||||
{{ end }}
|
||||
|
||||
data_path = "/config/data"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user