diff --git a/etc/nginx/include.d/mail.conf b/etc/nginx/include.d/mail.conf index f6965a5..87bf660 100644 --- a/etc/nginx/include.d/mail.conf +++ b/etc/nginx/include.d/mail.conf @@ -14,23 +14,25 @@ mail { #ssl_session_cache shared:SSL:10m; #ssl_session_timeout 10m; - server { - listen 25; - listen 465 ssl; - protocol smtp; - smtp_auth login plain cram-md5; - } + include /etc/nginx/mail.d/*.conf; - server { - listen 110; - listen 995 ssl; - protocol pop3; - pop3_auth plain apop cram-md5; - } - - server { - listen 143; - listen 993 ssl; - protocol imap; - } +# server { +# listen 25; +# listen 465 ssl; +# protocol smtp; +# smtp_auth login plain cram-md5; +# } +# +# server { +# listen 110; +# listen 995 ssl; +# protocol pop3; +# pop3_auth plain apop cram-md5; +# } +# +# server { +# listen 143; +# listen 993 ssl; +# protocol imap; +# } } diff --git a/etc/nginx/include.d/stream.conf b/etc/nginx/include.d/stream.conf index da300b0..d38cf9e 100644 --- a/etc/nginx/include.d/stream.conf +++ b/etc/nginx/include.d/stream.conf @@ -8,7 +8,5 @@ stream { '$session_time "$upstream_addr" ' '"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"'; - proxy_protocol on; - include /etc/nginx/stream.d/*.conf; }