1. Caddy version (caddy version):
2.5.0
2. How I run Caddy:
a. System environment:
Docker
b. Command:
caddy run -watch -config /etc/caddy/Caddyfile
c. Service/unit/compose file:
edge:
image: caddy:2.5.0
command: caddy run -resume -config /etc/caddy/Caddyfile
networks:
- backend
ports:
- 80:80
- 443:443
volumes:
- caddy_data:/etc/caddy/caddy
- ~/certs:/etc/caddy/certs
environment:
XDG_CONFIG_HOME: /etc/caddy
d. My complete Caddyfile or JSON config:
I have about 10000
or even more domains in the Caddy file
auto_https
config is off and uses manual HTTPS for all of them.
3. The problem Iām having:
Every 5 seconds I generate a Caddyfile base on information that I Have.
every request that I give the caddy file to the Caddy web server takes more than 40
seconds
4. Error messages and/or full log output:
Do you have any idea to optimize this request?
I am thinking about a partial update but it has its own cons.
any help would be greatly appreciated