Remove non-standard redirects
This commit is contained in:
1 parent
62d1d41bc5
commit
2d6054605e
1 file changed
-15
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user