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