# Caddy in front of Supermarket's server edition (compose.server.yaml). # SUPERMARKET_ACME and SUPERMARKET_TLS are whole lines, or nothing (see # compose.server.yaml); Caddy fills them in before reading this file. { {$SUPERMARKET_ACME} } {$SUPERMARKET_DOMAIN} { {$SUPERMARKET_TLS} encode zstd gzip header Strict-Transport-Security "max-age=31536000" # Caddy sets X-Forwarded-For to the client's address (it ignores what the # client sent), which Supermarket's sign-in limits use. reverse_proxy supermarket:8080 }