mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix certbot
This commit is contained in:
parent
e6a2771592
commit
1b3355a610
@ -65,7 +65,7 @@ ln -s /etc/nginx/sites-available/update-page.conf /etc/nginx/sites-enabled/
|
||||
sudo /etc/init.d/nginx restart
|
||||
# enable https if env variable has value https
|
||||
if [ "$URL_PROTOCOL" = "https" ]; then
|
||||
certbot --nginx --non-interactive
|
||||
certbot --nginx --non-interactive --domains $COMMUNITY_HOST
|
||||
fi
|
||||
|
||||
# stop all services
|
||||
@ -265,7 +265,7 @@ ln -s /etc/nginx/sites-available/gradido.conf /etc/nginx/sites-enabled/
|
||||
rm /etc/nginx/sites-enabled/update-page.conf
|
||||
sudo /etc/init.d/nginx restart
|
||||
if [ "$URL_PROTOCOL" = "https" ]; then
|
||||
certbot --nginx --non-interactive
|
||||
certbot --nginx --non-interactive --domains $COMMUNITY_HOST
|
||||
fi
|
||||
|
||||
# keep the update log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user