caddy-docker-proxy
caddy-docker-proxy copied to clipboard
Caddy as a reverse proxy for Docker
How can I proxy multiple ports of the same container to different subdomains? Currently I'm proxying just one of the exposed ports, but I would like to proxy the second...
Was building and testing Caddy when I noticed a few [data races](https://github.com/lucaslorentz/caddy-docker-proxy/files/10290291/data_races.txt). **Steps to reproduce** 1. Download [caddy-docker-proxy-races.zip](https://github.com/lucaslorentz/caddy-docker-proxy/files/10290398/caddy-docker-proxy-races.zip). 2. Open a terminal and `cd caddy && docker-compose up` 3. Open...
Currently, there is only 1 way to configure CDP in distributed mode (controllers + servers): - Setting `CADDY_CONTROLLER_NETWORK` with network CIDR on both controller and servers What I'm changing: -...
The [official Caddy docs](https://caddyserver.com/docs/caddyfile/directives/import) describe that a relative filepath is from the file calling `import`: > Its contents will replace this line as if that file's contents appeared here to...
I run your Caddy: ```yaml version: "3.8" services: caddy: image: lucaslorentz/caddy-docker-proxy:ci-alpine container_name: caddy ports: - 80:80 - 443:443 - "443:443/udp" environment: - CADDY_INGRESS_NETWORKS=caddy - CADDY_DOCKER_CADDYFILE_PATH=/config/Caddyfile env_file: - .env networks: -...
inside caddy-proxy container config/caddy/autosave.json show `{"admin":{"listen":"tcp/localhost:2019"}` but with exposed 2019 port on docker-compose file, i can't connect to 2019, responce is: `Connection reset by peer` need advice - how change...
Hi, it would be nice to know how many requests per second the webserver servs. So that we can track this for example with grafana + prometheus.
Most of the time, the config is not reloaded automatically, I need to restart the caddy-docker-proxy container to reload the config. For example, I had an already added domain, I...
Hi, is it correct that we have to build our own build to integrate rate limit or do I miss something? Thank you :)
When `CADDY_DOCKER_LABEL_PREFIX` contains dots, parsing of blocks will break. e.g. With `CADDY_DOCKER_LABEL_PREFIX=mydomain.gitlab.caddy`, cdp will yield error: ``` [ERROR] Removing invalid block: Caddyfile:2: unrecognized global option: gitlab\n{\n\tgitlab {\n\t\tcaddy http://redis.gitlab.mydomain {\n\t\t\treverse_proxy 127.0.0.1:5540\n\t\t}\n\t}\n}\n\n...