We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7dd404 commit c2b82a9Copy full SHA for c2b82a9
common/docker-entrypoint.d/00-check-for-required-env.sh
@@ -24,7 +24,7 @@ failed=0
24
25
required=("S3_BUCKET_NAME" "S3_SERVER" "S3_SERVER_PORT" "S3_SERVER_PROTO"
26
"S3_REGION" "S3_STYLE" "ALLOW_DIRECTORY_LIST" "AWS_SIGS_VERSION"
27
-"CORS_ENABLED")
+"CORS_ENABLED", "PROXY_CACHE_USE_STALE")
28
29
# Require some form of authentication to be configured.
30
@@ -126,6 +126,10 @@ if [ -n "${HEADER_PREFIXES_TO_STRIP+x}" ]; then
126
fi
127
128
129
+if [[ ! "${PROXY_CACHE_USE_STALE}" ]]; then
130
+ >&2 echo "PROXY_CACHE_USE_STALE must not be blank"
131
+ failed=1
132
+fi
133
134
if [ $failed -gt 0 ]; then
135
exit 1
0 commit comments