Skip to content
Snippets Groups Projects
Commit 22852136 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixes

parent 51d504d4
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,6 @@ data* ...@@ -16,7 +16,6 @@ data*
# DB conf # DB conf
services/webapp/db_conf.sh services/webapp/db_conf.sh
services/proxy/certificates
# Compose # Compose
docker-compose.yml docker-compose.yml
...@@ -44,6 +44,9 @@ if [ "x$ROSETTA_TASKS_PROXY_HOST" == "x$ROSETTA_HOST"] || [ "x$ROSETTA_TASKS_PRO ...@@ -44,6 +44,9 @@ if [ "x$ROSETTA_TASKS_PROXY_HOST" == "x$ROSETTA_HOST"] || [ "x$ROSETTA_TASKS_PRO
ROSETTA_TASKS_PROXY_HOST=$ROSETTA_HOST ROSETTA_TASKS_PROXY_HOST=$ROSETTA_HOST
else else
# Always create dir if not existent
mkdir -p /etc/letsencrypt/live/$ROSETTA_TASKS_PROXY_HOST/
# If there are no certificates, use snakeoils # If there are no certificates, use snakeoils
if [ ! -f "/etc/letsencrypt/live/$ROSETTA_TASKS_PROXY_HOST/cert.pem" ]; then if [ ! -f "/etc/letsencrypt/live/$ROSETTA_TASKS_PROXY_HOST/cert.pem" ]; then
echo "Using default self-signed certificate cer file for $ROSETTA_TASKS_PROXY_HOST as not existent..." echo "Using default self-signed certificate cer file for $ROSETTA_TASKS_PROXY_HOST as not existent..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment