Allow instances to add prefixes by hand
This commit adds a method to allow instances to add specific prefixes to the global uri resolver.
This commit is contained in:
parent
210668a49b
commit
cb34e1144f
3 changed files with 17 additions and 0 deletions
|
|
@ -66,6 +66,14 @@ GRAPHDB_REPO="${GRAPHDB_REPO_PREFIX}${USERNAME_BASE}"
|
|||
INSTANCE_BASE_DIR="$DEPLOY_INSTANCES_DIR/$INSTANCE_DOMAIN"
|
||||
INSTANCE_DATA_DIR="$INSTANCE_BASE_DIR/data/"
|
||||
|
||||
# compute the prefix file
|
||||
function compute_instance_prefixfile() {
|
||||
INSTANCE_BASE_DIR="$1"
|
||||
INSTANCE_PREFIX_FILE="$INSTANCE_BASE_DIR/prefixes"
|
||||
echo "$INSTANCE_PREFIX_FILE"
|
||||
}
|
||||
INSTANCE_PREFIX_FILE="$(compute_instance_prefixfile "$INSTANCE_BASE_DIR" )"
|
||||
|
||||
if [ -n "$CERTBOT_EMAIL" ]; then
|
||||
LETSENCRYPT_HOST="$INSTANCE_DOMAIN"
|
||||
LETSENCRYPT_EMAIL="$CERTBOT_EMAIL"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue