Comments (3)
Hello @aspnetde 👋
I've tried reproducing the issue but everything seems to work as expected.
Here is my setup:
./docker-compose.yaml
:
version: '3.8'
services:
traefik:
image: traefik:v2.10
restart: always
command:
- --api.insecure=true
- --log.level=debug
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --providers.file.directory=/config
- --providers.file.watch=true
- --entrypoints.websecure.address=:443
ports:
- 443:443
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config:/config
config/routers.yaml
tcp:
routers:
external-service-router:
rule: "HostSNI(`*`)"
service: "external-service"
entryPoints: ["websecure"]
services:
external-service:
loadBalancer:
servers:
- address: "<IP_A>:443"
The IP I used are those of public server such as traefik.io.
When I change the IP address to something else, I see the right log:
Creating TCP server 0 at :443" serverName=0 entryPointName=websecure routerName=external-service-router@file serviceName=external-service
I call the service by doing a curl as follow:
curl https://localhost -H "Host: traefik.io" -vk
Could you provide a self contained reproducible test case? Or point me where my setup differs?
from traefik.
Unfortunately, I don't have a development machine available right now. Your configuration looks quite similar to mine as posted above, but it's not exactly the same. Maybe disabling the debug mode would have the (not so) desired effect? Anyway, I can try to reproduce it once again in a couple of days.
from traefik.
@jspdown You are right, I can reproduce the correct behavior now, too. Even when testing it with my config, without using the debug mode. I have no idea what went wrong back initially.
from traefik.
Related Issues (20)
- TLS certificate generation mix the CN and SANs HOT 1
- Keep URIs in server list
- Add shellrent as dnschallenge provider HOT 2
- Plugin file or directory could not be found in Pod HOT 2
- Create a cross namespace load balancing using IngressRouteTCP, where only the last service can be accessed HOT 4
- Only one node serve proper certificate HOT 3
- traefik_service_requests_total Inaccurate total count
- InfluxDB Metrics provider not working in v3.0 HOT 3
- Error with StripPrefix Middleware : `field not found, node: forceSlash` HOT 2
- Access log has many items with "0" HOT 3
- MySQL client cannot connect to database when using SNI routing with TLS HOT 3
- [v3] Support the traefik.http.*.tls.passthrough label again HOT 1
- providers.docker.defaultrule HOT 4
- Dashboard No longer working HOT 7
- bogus greeting in traefik -> traefik communication HOT 4
- using forwardAuth + authResponseHeaders drops some original client headers HOT 1
- PathPrefix RegEx HOT 3
- ReplacePathRegex - Allow Empty String for `replacement` HOT 3
- Missing Docker Swarm logo HOT 2
- Support different TLS options for different ClientIP in the same Host HOT 3
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 traefik.