www/doc/04_dwarvenmail-com.txt
2024-03-31 10:44:34 -05:00

20 lines
502 B
Text

cp dwarvenmail.com.conf.bootstrap \
/etc/nginx/sites-available/dwarvenmail.com.conf
cd /etc/nginx/sites-enabled
ln -s /etc/nginx/sites-available/dwarvenmail.com.conf 04dwarvenmail.com.conf
cd -
nginx -t
systemctl restart nginx
certbot --nginx -d dwarvenmail.com,www.dwarvenmail.com \
--agree-tos -m "hostmaster@dwarvenmail.com" --no-eff-email \
--deploy-hook "systemctl reload nginx"
cp dwarvenmail.com.conf /etc/nginx/sites-available/dwarvenmail.com.conf
nginx -t
systemctl restart nginx