Don't force SSL to get IP. More convenient for curl
This commit is contained in:
parent
5630fbf927
commit
496725662d
@ -2,7 +2,7 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
|
||||||
server_name ip.clerie.de ip4.clerie.de ip6.clerie.de;
|
server_name ip.clerie.de;
|
||||||
|
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
@ -66,6 +66,8 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user