Certificates in nginx: Difference between revisions

From artserver wiki
(Created page with "16.09.2019 * 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 f...")
 
No edit summary
Line 1: Line 1:
==How to add certificates to nginx domains==
16.09.2019
16.09.2019



Revision as of 10:05, 16 September 2019

How to add certificates to nginx domains

16.09.2019

  • 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 domain.top`
    • it asks if you want a permanent redirect to ssl: yes


... more about "Certificates in nginx"
Code Notes +