# Serve only through HTTP while updating the certificate server { listen 80; server_name kornerr.ru; root /var/www/html; location / { try_files $uri $uri/ =404; } }