Don't force SSL to get IP. More convenient for curl

This commit is contained in:
clerie 2020-10-18 16:01:47 +02:00
parent 5630fbf927
commit 496725662d

View File

@ -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;