SSL Bugfix
This commit is contained in:
parent
d3bb2d6e28
commit
5efd82c1a1
4
admin.sh
4
admin.sh
|
@ -11,7 +11,7 @@ mkdir $domain
|
|||
echo "server {" >> /etc/nginx/sites-enabled/$domain
|
||||
echo " listen 80;" >> /etc/nginx/sites-enabled/$domain
|
||||
echo " server_name $domain;" >> /etc/nginx/sites-enabled/$domain
|
||||
echo " root /home/$username/$domain" >> /etc/nginx/sites-enabled/$domain
|
||||
echo " root /home/$username/$domain;" >> /etc/nginx/sites-enabled/$domain
|
||||
echo "}" >> /etc/nginx/sites-enabled/$domain
|
||||
|
||||
certbot --nginx -d $domain --non-interactive --agree-tos -m root@$domain
|
||||
certbot --nginx -d $domain --non-interactive --redirect --agree-tos -m root@$domain
|
||||
|
|
Loading…
Reference in New Issue