Substring replacement failed for LISTEN_PORT
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ FROM nginxinc/nginx-unprivileged:alpine-slim
|
|||||||
ENV REDIRECT_TARGET="https://example.com" \
|
ENV REDIRECT_TARGET="https://example.com" \
|
||||||
REDIRECT_CODE="301" \
|
REDIRECT_CODE="301" \
|
||||||
LISTEN_PORT="8080" \
|
LISTEN_PORT="8080" \
|
||||||
NGINX_ENVSUBST_FILTER="REDIRECT_TARGET REDIRECT_CODE LISTEN_PORT"
|
NGINX_ENVSUBST_FILTER="LISTEN_PORT|REDIRECT_CODE|REDIRECT_TARGET"
|
||||||
|
|
||||||
# Copy template for automatic envsubst rendering on startup
|
# Copy template for automatic envsubst rendering on startup
|
||||||
COPY templates/default.conf.template /etc/nginx/templates/default.conf.template
|
COPY templates/default.conf.template /etc/nginx/templates/default.conf.template
|
||||||
|
|||||||
Reference in New Issue
Block a user