Certificates in nginx

From /

How to add certificates to nginx domains


  • add docroot (done)
  • add nginx vhost (use nginx_modsite for enabling / disabling vhosts)
  • if dns is pointing to the server already and the docroot is readable

for the webserver, then

  • `certbot-auto -d`
    • it asks if you want a permanent redirect to ssl: yes

Facts about "Certificates in nginx"
SectionCode Notes +