Skip to content

Instantly share code, notes, and snippets.

@Gargron
Gargron / example.conf
Last active August 10, 2022 23:10
Using an nginx proxy with cache in front of Wasabi to minimize egress costs
proxy_cache_path /tmp/cache levels=1:2 keys_zone=s3_cache:10m max_size=15g inactive=24h use_temp_path=off;
server {
listen 443 ssl;
server_name files.example.com;
keepalive_timeout 30;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
location = / {