# 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;
    }
}
