fix .com and .org domain in documentation
This commit is contained in:
parent
ed10bc5833
commit
4406c337d4
1 changed files with 7 additions and 7 deletions
|
@ -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"]
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue