mirror of
https://github.com/bluepuma77/traefik-best-practice.git
synced 2025-12-27 15:31:35 +01:00
beautify
This commit is contained in:
@@ -4,7 +4,7 @@ Simple `docker-compose.yml` template to run Traefik in Docker with TCP routers.
|
||||
|
||||
Port 443 is TCP-router enabled, it will use LetsEncrypt to create a cert for `HostSNI()`, you can connect to it via TLS, for example using `openssl s_client -connect tcp.example.com:443`. With this multiple (sub-)domains can be used, Traefik managing TLS and forwarding data stream un-encrypted.
|
||||
|
||||
Port 9000 is TCP-router enabled, just for plain TCP. Traefik can not see anything inside that connection, so only HostSNI(`*`) can be used for a single service. If you enable any TLS on the router, then Traefik will create a default cert, unless you load a custom TLS cert via `provider.file`. The target service can use plain TCP or create it's own custom TLS cert. Note that LetsEncrypt with httpChallenge and tlsChallenge only works with ports 80/443, so if the service wants to create a LE cert, it needs to use dnsChallenge.
|
||||
Port 9000 is TCP-router enabled, just for plain TCP. Traefik can not see anything inside that connection, so only ```HostSNI(`*`)``` can be used for a single service. If you enable any TLS on the router, then Traefik will create a default cert, unless you load a custom TLS cert via `provider.file`. The target service can use plain TCP or create it's own custom TLS cert. Note that LetsEncrypt with httpChallenge and tlsChallenge only works with ports 80/443, so if the service wants to create a LE cert, it needs to use dnsChallenge.
|
||||
|
||||
## Features:
|
||||
|
||||
@@ -14,7 +14,6 @@ Port 9000 is TCP-router enabled, just for plain TCP. Traefik can not see anythin
|
||||
- Letsencrypt will automatically generate TLS/SSL certificates for all domains in `Host()` and `HostSNI()`
|
||||
- Traefik log (`level=INFO`) and access log are enabled to container stdout/stderr
|
||||
- Traefik dashboard is enabled at `https://traefik.example.com/dashboard/` with user/pass test/test
|
||||
- Example whoami router will automatically redirect from "www.whoami.example.com" to "whoami.example.com"
|
||||
|
||||
## Deployment:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user