18 lines
455 B
Plaintext
18 lines
455 B
Plaintext
|
|
# Temporary HTTP-only config used while obtaining the first Let's Encrypt certificate.
|
||
|
|
# Replaced by nginx/generated/default.conf after ./scripts/init-letsencrypt.sh
|
||
|
|
|
||
|
|
server {
|
||
|
|
listen 80;
|
||
|
|
listen [::]:80;
|
||
|
|
server_name _;
|
||
|
|
|
||
|
|
location /.well-known/acme-challenge/ {
|
||
|
|
root /var/www/certbot;
|
||
|
|
}
|
||
|
|
|
||
|
|
location / {
|
||
|
|
return 200 'Dyolink: obtaining SSL certificate. Retry shortly.';
|
||
|
|
add_header Content-Type text/plain;
|
||
|
|
}
|
||
|
|
}
|