Compare commits
2 Commits
5630fbf927
...
751d0c1d97
Author | SHA1 | Date | |
---|---|---|---|
751d0c1d97 | |||
496725662d |
@ -2,7 +2,7 @@ server {
|
||||
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;
|
||||
}
|
||||
@ -66,6 +66,8 @@ server {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
|
||||
@ -79,6 +81,6 @@ server {
|
||||
location / {
|
||||
add_header Content-Type text/plain;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
return 200 $remote_addr;
|
||||
return 200 '$remote_addr\n';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user