From 1b3355a61011bf54b3ed21728ade8adc96519555 Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Mon, 8 Jan 2024 16:56:14 +0100 Subject: [PATCH] fix certbot --- deployment/bare_metal/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index db67cc0d9..68934dbcf 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -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