Skip to content
Snippets Groups Projects
Commit 90cb4839 authored by hmangeart's avatar hmangeart
Browse files

remove useless loop

parent ff208129
No related branches found
No related tags found
No related merge requests found
......@@ -48,13 +48,12 @@ nginx -t && \
# ASKS FOR CERTS TO LETSENCRYPT
mkdir -p /tmp/letsencrypt
for domain in $MS_SERVER_NAME $CM_SERVER_NAME $MONITOR_SERVER_NAME; do
certbot certonly \
--webroot --webroot-path /tmp/letsencrypt \
--domains "${DOMAIN_STRING}" \
--email "${EMAIL_ADMINS}" \
--rsa-key-size 4096
done
certbot certonly \
--webroot --webroot-path /tmp/letsencrypt \
--domains "${DOMAIN_STRING}" \
--email "${EMAIL_ADMINS}" \
--rsa-key-size 4096
# RE-REDIRECT HTTP to HTTPS
sed -i s/rewrite/#rewrite/ mediaserver-msuser.conf skyreach.conf msmonitor.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment