fix .com and .org domain in documentation

This commit is contained in:
R. P. Taylor 2024-05-27 06:12:03 -07:00 committed by GitHub
parent ed10bc5833
commit 4406c337d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ labels:
- traefik.http.routers.blog.rule=Host(`example.com`) && Path(`/blog`) - traefik.http.routers.blog.rule=Host(`example.com`) && Path(`/blog`)
- traefik.http.routers.blog.tls=true - traefik.http.routers.blog.tls=true
- traefik.http.routers.blog.tls.certresolver=myresolver - traefik.http.routers.blog.tls.certresolver=myresolver
- traefik.http.routers.blog.tls.domains[0].main=example.org - traefik.http.routers.blog.tls.domains[0].main=example.com
- traefik.http.routers.blog.tls.domains[0].sans=*.example.org - traefik.http.routers.blog.tls.domains[0].sans=*.example.org
``` ```
@ -17,7 +17,7 @@ deploy:
- traefik.http.services.blog-svc.loadbalancer.server.port=8080" - traefik.http.services.blog-svc.loadbalancer.server.port=8080"
- traefik.http.routers.blog.tls=true - traefik.http.routers.blog.tls=true
- traefik.http.routers.blog.tls.certresolver=myresolver - traefik.http.routers.blog.tls.certresolver=myresolver
- traefik.http.routers.blog.tls.domains[0].main=example.org - traefik.http.routers.blog.tls.domains[0].main=example.com
- traefik.http.routers.blog.tls.domains[0].sans=*.example.org - traefik.http.routers.blog.tls.domains[0].sans=*.example.org
``` ```
@ -38,7 +38,7 @@ spec:
tls: tls:
certResolver: myresolver certResolver: myresolver
domains: domains:
- main: example.org - main: example.com
sans: sans:
- '*.example.org' - '*.example.org'
``` ```
@ -49,7 +49,7 @@ labels: {
"traefik.http.routers.blog.tls": "true", "traefik.http.routers.blog.tls": "true",
"traefik.http.routers.blog.tls.certresolver": "myresolver", "traefik.http.routers.blog.tls.certresolver": "myresolver",
"traefik.http.routers.blog.tls.domains[0].main": "example.com", "traefik.http.routers.blog.tls.domains[0].main": "example.com",
"traefik.http.routers.blog.tls.domains[0].sans": "*.example.com", "traefik.http.routers.blog.tls.domains[0].sans": "*.example.org",
"traefik.http.services.blog-svc.loadbalancer.server.port": "8080" "traefik.http.services.blog-svc.loadbalancer.server.port": "8080"
} }
``` ```
@ -60,7 +60,7 @@ labels:
- traefik.http.routers.blog.rule=Host(`example.com`) && Path(`/blog`) - traefik.http.routers.blog.rule=Host(`example.com`) && Path(`/blog`)
- traefik.http.routers.blog.tls=true - traefik.http.routers.blog.tls=true
- traefik.http.routers.blog.tls.certresolver=myresolver - traefik.http.routers.blog.tls.certresolver=myresolver
- traefik.http.routers.blog.tls.domains[0].main=example.org - traefik.http.routers.blog.tls.domains[0].main=example.com
- traefik.http.routers.blog.tls.domains[0].sans=*.example.org - traefik.http.routers.blog.tls.domains[0].sans=*.example.org
``` ```
@ -73,7 +73,7 @@ http:
tls: tls:
certResolver: myresolver certResolver: myresolver
domains: domains:
- main: "example.org" - main: "example.com"
sans: sans:
- "*.example.org" - "*.example.org"
``` ```
@ -86,6 +86,6 @@ http:
[http.routers.blog.tls] [http.routers.blog.tls]
certResolver = "myresolver" # From static configuration certResolver = "myresolver" # From static configuration
[[http.routers.blog.tls.domains]] [[http.routers.blog.tls.domains]]
main = "example.org" main = "example.com"
sans = ["*.example.org"] sans = ["*.example.org"]
``` ```