server { listen 443 ssl; listen 80; server_name nova.notmyidea.org;
ssl_certificate /etc/letsencrypt/live/blog.notmyidea.org/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/blog.notmyidea.org/privkey.pem;
include /home/poils/letsencrypt/letsencrypt-nginx/letsencrypt_nginx/options-ssl-nginx.conf;
location / { root home/www/nova.notmyidea.org; autoindex on; }
if ($scheme != “https”) { return 301 https://$host$request_uri; } # managed by Certbot
}