fix acme_config var _DIR

This commit is contained in:
dadel 2017-03-03 13:03:36 +01:00
parent e66427b613
commit f094aac437
1 changed files with 8 additions and 8 deletions

View File

@ -1,15 +1,15 @@
DOMAINS="{{ domains }}" DOMAINS="{{ domains }}"
_UNAME="{{ uname }}" _UNAME="{{ uname }}"
_DIR="{{ le_certificate_folder }}/{{ main_domain }}" _DIR="{{ le_certificate_folder }}/{{ uname }}"
KEY="$_DIR/$_UNAME.key" KEY="$_DIR/$_UNAME.key"
CRT="$_DIR/$_UNAME.crt" CRT="$_DIR/$_UNAME.crt"
CSR="$_DIR/$_UNAME.csr" CSR="$_DIR/$_UNAME.csr"
CHAINED="$_DIR/$_UNAME.chained" CHAINED="$_DIR/$_UNAME.chained"
INTERMEDIATE="$_DIR/$_UNAME.intermediate" INTERMEDIATE="$_DIR/$_UNAME.intermediate"
ACME_KEY="$_DIR/$_UNAME.acme.key" ACME_KEY="$_DIR/$_UNAME.acme.key"
ACME_CHALLENGE_ROOT=~acme/challenges ACME_CHALLENGE_ROOT=~acme/challenges
ACME_CHALLENGE_URL=/.well-known/acme-challenge ACME_CHALLENGE_URL=/.well-known/acme-challenge
ACME_CHALLENGE_DIR="${ACME_CHALLENGE_ROOT}/${ACME_CHALLENGE_URL}" ACME_CHALLENGE_DIR="${ACME_CHALLENGE_ROOT}/${ACME_CHALLENGE_URL}"
RESTART_SERVICE=nginx RESTART_SERVICE=nginx