Skip to content
Snippets Groups Projects
Unverified Commit 691ad822 authored by David Beniamine's avatar David Beniamine
Browse files

install apache plugin certbot

parent 7d55a5cc
Branches
No related tags found
No related merge requests found
......@@ -19,10 +19,14 @@
. `pwd`/main.env
DEBIAN_FRONTEND='noninteractive' apt-get -qq install \
certbot \
python-certbot-apache
DOMAINS="dolibarr.${DOMAIN},nextcloud.${DOMAIN},tetras-back.${DOMAIN}"
ARGS="--hsts --must-staple --agree-tos --email=${SERVER_ADMIN} --domains=${DOMAINS}"
line="0 1 `date +%d` */2 * /usr/bin/certbot renew --force-renewal"
if [ ${WEB_SERVER} == "apache2" ]
if [ "${WEB_SERVER}" == "apache2" ]
then
OPTS="run --apache"
line+="${RENEW}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment