mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Remove non-standard redirects
This commit is contained in:
@@ -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