2020-04-13 07:52:26 +00:00
|
|
|
server {
|
|
|
|
listen 80 default_server;
|
|
|
|
listen [::]:80 default_server;
|
|
|
|
server_name _;
|
2020-06-01 08:26:37 +00:00
|
|
|
|
2020-04-13 07:52:26 +00:00
|
|
|
location / {
|
|
|
|
return 301 https://$host$request_uri;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /.well-known/acme-challenge/ {
|
2020-06-01 08:26:37 +00:00
|
|
|
alias /var/lib/dehydrated/acme-challenges/;
|
2020-04-13 07:52:26 +00:00
|
|
|
}
|
|
|
|
}
|