Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (23 sloc) 1.04 KB


Common maintenance procedures

Adding a new domain

First, edit sudo vim /etc/nginx/nginx.conf to edit the nginx configuration to add the domain.

server {
    listen 443 ssl;
    listen [::]:443 ssl;
    server_name <domain>; # Edit <domain> to match here

    location /.well-known/acme-challenge {
        root /home/ssl-renew/challenges;

    location / {
        # configure the domain here

Then run sudo -i -u ssl-renew vim Add a --domains line to the script with the domain you're adding.

Then, run the script: sudo -i -u ssl-renew ./

You can’t perform that action at this time.