Skip to content

Instantly share code, notes, and snippets.

View torrybr's full-sized avatar
🌴
On vacation

torrybr

🌴
On vacation
View GitHub Profile
@torrybr
torrybr / default.conf.template
Created May 18, 2025 13:30 — forked from gregoiredx/default.conf.template
Nginx configured as a third party internal gateway proxy with cache
# To be use with https://hub.docker.com/_/nginx or https://hub.docker.com/r/nginxinc/nginx-unprivileged
# COPY this file to /etc/nginx/templates/default.conf.template
# For env var substitution, see "Using environment variables in nginx configuration" at https://hub.docker.com/_/nginx
# Example values:
# environment:
# - CACHE_FILES_PATH=/mnt/cache
# - CACHE_FILES_MAX_SIZE=1g
# - CACHE_MEMORY_SIZE=10m
# - CACHE_VALID_TIME=1m