Fix nginx template substitution

This commit is contained in:
Albert Armea 2026-03-21 20:06:57 +00:00
parent 888f6bde0d
commit c515981236
2 changed files with 6 additions and 0 deletions

View file

@ -50,6 +50,11 @@ COPY --from=builder \
# Main nginx config (loads the dynamic module at the top level)
COPY nginx.conf /etc/nginx/nginx.conf
# Virtual host template — the nginx Docker entrypoint runs envsubst on
# /etc/nginx/templates/*.template and writes the results to /etc/nginx/conf.d/
# automatically on container start, substituting any $VAR or ${VAR} present.
COPY templates/git.conf.template /etc/nginx/templates/git.conf.template
# GeoIP map directory (populated by geoblock_watcher at runtime)
RUN mkdir -p /etc/nginx/geoblock

View file

@ -54,3 +54,4 @@ server {
proxy_send_timeout 600s;
}
}