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