fix lego options

This commit is contained in:
Philip Henning 2024-11-19 11:15:00 +01:00
parent 2c3a0864da
commit d542bbd20d
2 changed files with 4 additions and 5 deletions

View file

@ -5,8 +5,8 @@ cd "$(dirname "$(realpath "$0")")/../"
lego \ lego \
--path ./data/.lego \ --path ./data/.lego \
--http.port 8080 \ --http.port :8080 \
--tls.port 8443 \ --tls.port :8443 \
--email="acme@base23.de" \ --email="acme@base23.de" \
--domains="sso.base23.de" \ --domains="sso.base23.de" \
--http renew \ --http renew \

View file

@ -29,7 +29,6 @@ trap 'printf "\nOperation aborted by user.\n" >&2; exit 1' SIGINT
cd "$(dirname "$(realpath "$0")")/../" cd "$(dirname "$(realpath "$0")")/../"
pwd
# Check if .env exists and exit if it is # Check if .env exists and exit if it is
[[ -f ./.env ]] && echo ".env already exists. Exiting!" && exit 1 || true [[ -f ./.env ]] && echo ".env already exists. Exiting!" && exit 1 || true
@ -52,8 +51,8 @@ echo ""
echo "Create certificate" echo "Create certificate"
lego \ lego \
--path ./data/.lego \ --path ./data/.lego \
--http.port 8080 \ --http.port :8080 \
--tls.port 8443 \ --tls.port :8443 \
--email="acme@base23.de" \ --email="acme@base23.de" \
--domains="sso.base23.de" \ --domains="sso.base23.de" \
--http run --http run