mirror of
https://github.com/aarmea/fahrengit-451.git
synced 2026-03-22 00:54:19 +00:00
Fix nginx template substitution
This commit is contained in:
parent
888f6bde0d
commit
c515981236
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -54,3 +54,4 @@ server {
|
|||
proxy_send_timeout 600s;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue