2022-01-11 20:33:22 +01:00
|
|
|
FROM nginx:latest
|
2022-08-05 18:41:55 +02:00
|
|
|
|
|
|
|
# nginx.conf
|
|
|
|
# use the default nginx behaviour for *.template files which are processed with envsubst
|
|
|
|
# override the output dir to output directly to /etc/nginx instead of /etc/nginx/conf.d
|
|
|
|
ENV NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx
|
|
|
|
COPY .generated-nginx.prod.conf /etc/nginx/templates/nginx.conf.template
|
|
|
|
|
|
|
|
# Error handling
|
|
|
|
COPY error.html /usr/share/nginx/html/error.html
|
|
|
|
|
|
|
|
# Default environment
|
|
|
|
ENV PROXY_RATE_LIMIT_WEBHOOKS_PER_SECOND=10
|