fix redirect vhost
This commit is contained in:
parent
adc69f07d5
commit
adadd086b6
@ -53,8 +53,8 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
listen 80 default_server http2;
|
listen 80 default_server;
|
||||||
listen [::]:80 default_server http2 ipv6only=on;
|
listen [::]:80 default_server;
|
||||||
server_name _;
|
server_name _;
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user