diff --git a/data/web/inc/functions.xmpp.inc.php b/data/web/inc/functions.xmpp.inc.php index 38ac406b..08b49f8a 100644 --- a/data/web/inc/functions.xmpp.inc.php +++ b/data/web/inc/functions.xmpp.inc.php @@ -180,8 +180,10 @@ function xmpp_rebuild_configs() { server { root /web; - listen 80; - listen [::]:80; + include /etc/nginx/conf.d/listen_ssl.active; + + ssl_certificate /etc/ssl/mail/cert.pem; + ssl_certificate_key /etc/ssl/mail/key.pem; server_name *.%s %s;