separate define and assign updated env vars
This commit is contained in:
parent
f8d228b277
commit
3ae78311f5
@ -10,9 +10,14 @@ convertCase () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# convert environment variables to UPPERCASE for proper string comparison
|
# convert environment variables to UPPERCASE for proper string comparison
|
||||||
export ACCESS_LOG=$(convertCase "$ACCESS_LOG")
|
ACCESS_LOG=$(convertCase "$ACCESS_LOG")
|
||||||
export HSTS=$(convertCase "$HSTS")
|
HSTS=$(convertCase "$HSTS")
|
||||||
export TLS13_ONLY=$(convertCase "$TLS13_ONLY")
|
TLS13_ONLY=$(convertCase "$TLS13_ONLY")
|
||||||
|
|
||||||
|
# export new environment variables
|
||||||
|
export ACCESS_LOG=$ACCESS_LOG
|
||||||
|
export HSTS=$HSTS
|
||||||
|
export TLS13_ONLY=$TLS13_ONLY
|
||||||
|
|
||||||
### update configuration files with environment variables
|
### update configuration files with environment variables
|
||||||
# update server name list
|
# update server name list
|
||||||
|
Loading…
Reference in New Issue
Block a user