From f2b552c00d261591e8daf896d3c42048cde2ed28 Mon Sep 17 00:00:00 2001 From: Marcel Hofer <3976393+mhofer117@users.noreply.github.com> Date: Sun, 20 Oct 2019 20:24:16 +0200 Subject: [PATCH] Fix custom http redirects with TLS-SNI Disable http listener for SNI ssl hosts in nginx. This allows the use of the following config again: https://mailcow.github.io/mailcow-dockerized-docs/u_e-80_to_443/ However that documentation page should still be updated: https://github.com/mailcow/mailcow-dockerized-docs/pull/175/commits --- data/conf/nginx/templates/sites.template.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/data/conf/nginx/templates/sites.template.sh b/data/conf/nginx/templates/sites.template.sh index b2ca6f81..782c8141 100644 --- a/data/conf/nginx/templates/sites.template.sh +++ b/data/conf/nginx/templates/sites.template.sh @@ -24,7 +24,6 @@ for cert_dir in /etc/ssl/mail/*/ ; do esac echo -n ' server { - include /etc/nginx/conf.d/listen_plain.active; include /etc/nginx/conf.d/listen_ssl.active; ssl_certificate '${cert_dir}'cert.pem;