diff --git a/plugins/nginx-vhosts/templates/nginx.ssl.conf.template b/plugins/nginx-vhosts/templates/nginx.ssl.conf.template index 69c0d0251..312cd83c3 100644 --- a/plugins/nginx-vhosts/templates/nginx.ssl.conf.template +++ b/plugins/nginx-vhosts/templates/nginx.ssl.conf.template @@ -7,21 +7,6 @@ server { return 301 https://\$host\$request_uri; } -server { - listen [::]:80; - listen 80; - server_name $SSL_SERVER_NAME; - return 301 https://$SSL_SERVER_NAME$request_uri; -} - -server { - listen [::]:80; - listen 80; - server_name www.$SSL_SERVER_NAME; - return 301 https://www.$SSL_SERVER_NAME$request_uri; -} - - server { listen [::]:443 ssl spdy; listen 443 ssl spdy;