mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-25 00:44:03 -04:00
Fix certbot github path (#2598)
This commit is contained in:
@@ -17,8 +17,8 @@ fi
|
||||
if [ ! -e "$data_path/conf/options-ssl-nginx.conf" ] || [ ! -e "$data_path/conf/ssl-dhparams.pem" ]; then
|
||||
echo "### Downloading recommended TLS parameters ..."
|
||||
mkdir -p "$data_path/conf"
|
||||
curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/options-ssl-nginx.conf > "$data_path/conf/options-ssl-nginx.conf"
|
||||
curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot/ssl-dhparams.pem > "$data_path/conf/ssl-dhparams.pem"
|
||||
curl -s https://github.com/certbot/certbot/blob/master/certbot-nginx/certbot_nginx/_internal/tls_configs/options-ssl-nginx.conf > "$data_path/conf/options-ssl-nginx.conf"
|
||||
curl -s https://github.com/certbot/certbot/blob/master/certbot/certbot/ssl-dhparams.pem > "$data_path/conf/ssl-dhparams.pem"
|
||||
echo
|
||||
fi
|
||||
|
||||
@@ -35,7 +35,7 @@ echo
|
||||
|
||||
|
||||
echo "### Starting nginx ..."
|
||||
docker-compose up --force-recreate -d nginx
|
||||
docker-compose -f ../docker-compose.yml up --force-recreate -d nginx
|
||||
echo
|
||||
|
||||
|
||||
|
||||
@@ -10,6 +10,6 @@ fi
|
||||
|
||||
. ./.env
|
||||
|
||||
docker-compose build
|
||||
docker-compose -f ../docker-compose.yml build
|
||||
|
||||
/bin/bash ./init-selfcert.sh
|
||||
|
||||
@@ -10,6 +10,6 @@ fi
|
||||
|
||||
. ./.env
|
||||
|
||||
docker-compose build
|
||||
docker-compose -f ../docker-compose.yml build
|
||||
|
||||
/bin/bash ./init-letsencrypt.sh
|
||||
|
||||
@@ -4,4 +4,4 @@ cd docker
|
||||
|
||||
. ./.env
|
||||
|
||||
docker-compose down
|
||||
docker-compose -f ../docker-compose.yml down
|
||||
|
||||
Reference in New Issue
Block a user