add a6 setup
This commit is contained in:
parent
efdfdacbac
commit
d1dd382b34
1 changed files with 21 additions and 0 deletions
21
doc/06_airlocksix-com.txt
Normal file
21
doc/06_airlocksix-com.txt
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
|
||||||
|
cp airlocksix.com.conf.bootstrap \
|
||||||
|
/etc/nginx/sites-available/airlocksix.com.conf
|
||||||
|
|
||||||
|
cd /etc/nginx/sites-enabled
|
||||||
|
ln -s /etc/nginx/sites-available/airlocksix.com.conf 06airlocksix.com.conf
|
||||||
|
cd -
|
||||||
|
|
||||||
|
nginx -t
|
||||||
|
systemctl restart nginx
|
||||||
|
|
||||||
|
certbot --nginx \
|
||||||
|
-d airlocksix.com,www.airlocksix.com,airlock6.com,www.airlock6.com \
|
||||||
|
--agree-tos -m "hostmaster@airlocksix.com" --no-eff-email \
|
||||||
|
--deploy-hook "systemctl reload nginx"
|
||||||
|
|
||||||
|
cp airlocksix.com.conf /etc/nginx/sites-available/airlocksix.com.conf
|
||||||
|
|
||||||
|
nginx -t
|
||||||
|
systemctl restart nginx
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue