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
master
Marcel Hofer 2019-10-20 20:24:16 +02:00 committed by GitHub
parent d11a18992b
commit f2b552c00d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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;