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/commitsmaster
parent
d11a18992b
commit
f2b552c00d
|
@ -24,7 +24,6 @@ for cert_dir in /etc/ssl/mail/*/ ; do
|
||||||
esac
|
esac
|
||||||
echo -n '
|
echo -n '
|
||||||
server {
|
server {
|
||||||
include /etc/nginx/conf.d/listen_plain.active;
|
|
||||||
include /etc/nginx/conf.d/listen_ssl.active;
|
include /etc/nginx/conf.d/listen_ssl.active;
|
||||||
|
|
||||||
ssl_certificate '${cert_dir}'cert.pem;
|
ssl_certificate '${cert_dir}'cert.pem;
|
||||||
|
|
Loading…
Reference in New Issue