lucaslorentz / caddy-docker-proxy

Caddy as a reverse proxy for Docker
MIT License
3.07k stars 174 forks source link

Enable gzip globaly #552

Closed sowinski closed 1 year ago

sowinski commented 1 year ago

Hi,

is it possible to enable gzip for all containers instead of added for each container a label?

This is my current caddy docker compose file:

 1 version: "3.7"
  2 services:
  3   caddy:
  4     image: lucaslorentz/caddy-docker-proxy:2.8.9-alpine
  5     ports:
  6       - 80:80
  7       - 443:443
  8     environment:
  9       - CADDY_INGRESS_NETWORKS=caddy
 10     networks:
 11       - caddy
 12     volumes:
 13       - /var/run/docker.sock:/var/run/docker.sock
 14       - caddy_data:/data
 15     restart: unless-stopped
 16 
 17 networks:
 18   caddy:
 19     external: true
 20 
 21 volumes:
 22   caddy_data: {}
francislavoie commented 1 year ago

No, there's no such thing as globally configured routes in Caddy.

sowinski commented 1 year ago

okay thank you