Comments (4)
Solved my own issue. Maybe this should be added to the docs?
To use multiple domains use a single quote around the domains like so. It'll create the config below.
docker service create --network caddy -l caddy.address='whoami2.caddy-proxy, whoami3.caddy-proxy' -l caddy.targetport=8000 -l caddy.tls=off --name whoami2_3 jwilder/whoami
whoami2.caddy-proxy, whoami3.caddy-proxy {
gzip
proxy / whoami2_3:8000 {
transparent
}
tls off
}
from caddy-docker-proxy.
Nice.
Whitespace there would cause separate arguments, not a continuous label value.
I agree, I need to update docs.
from caddy-docker-proxy.
Since you use a single quote it's not an issue. I've already tired this out.
from caddy-docker-proxy.
Ok, thanks!
from caddy-docker-proxy.
Related Issues (20)
- Vaultwarden HOT 4
- HTTP/2 Rapid Reset : CVE-2023-44487 HOT 3
- Q: How to define global snippets? HOT 3
- How to make requests to reverse proxy inside docker network? HOT 7
- Service is not in same network as caddy in docker swarm
- Error using php_fastcgi directive: two Caddy blocks are created HOT 10
- sticky sessions HOT 3
- Caddy is not reading my labels HOT 4
- Latest version not available trough xcaddy build HOT 2
- Featurerequest in Readme: How to use basic auth? HOT 5
- Is it possible to automate reverse proxy entries? HOT 6
- Enable gzip globaly HOT 2
- How to enable brotli module HOT 1
- Issue redirecting from non-www to www or vice versa HOT 5
- crashed/stopped container results in a 308 loop (bug?) HOT 5
- does caddy-docker-proxy support 443/udp? HOT 1
- Dynamically expose additional ports without restarting Caddy or target services HOT 21
- Container tag vs build version mismatch? 2.8-alpine reports v2.7.5 HOT 2
- Removing invalid block in Caddyfile HOT 5
- Trying to use the LinuxServer Nextcloud Docker returns public IPs. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caddy-docker-proxy.