# Temporary HTTP-only vhost for the initial Let's Encrypt HTTP-01 challenge. # Install as /etc/nginx/sites-enabled/contracts-upload.conf, issue the # certificate, then replace it with nginx-contracts-upload.conf. server { listen 80; server_name contracts-upload.sinefo.ru; location /.well-known/acme-challenge/ { root /var/www/acme; } location / { return 404; } }