Преглед на файлове

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
Marcel Hofer преди 5 години
родител
ревизия
f2b552c00d
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      data/conf/nginx/templates/sites.template.sh

+ 0 - 1
data/conf/nginx/templates/sites.template.sh

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