entrypoints.md (traefik-v2.3.2.src) | : | entrypoints.md (traefik-v2.3.3.src) | ||
---|---|---|---|---|
skipping to change at line 215 | skipping to change at line 215 | |||
```yaml tab="File (yaml)" | ```yaml tab="File (yaml)" | |||
entryPoints: | entryPoints: | |||
specificIPv4: | specificIPv4: | |||
address: "192.168.2.7:8888" | address: "192.168.2.7:8888" | |||
specificIPv6: | specificIPv6: | |||
address: "[2001:db8::1]:8888" | address: "[2001:db8::1]:8888" | |||
``` | ``` | |||
```bash tab="CLI" | ```bash tab="CLI" | |||
entrypoints.specificIPv4.address=192.168.2.7:8888 | --entrypoints.specificIPv4.address=192.168.2.7:8888 | |||
entrypoints.specificIPv6.address=[2001:db8::1]:8888 | --entrypoints.specificIPv6.address=[2001:db8::1]:8888 | |||
``` | ``` | |||
Full details for how to specify `address` can be found in [net.Listen](https ://golang.org/pkg/net/#Listen) (and [net.Dial](https://golang.org/pkg/net/#Dial) ) of the doc for go. | Full details for how to specify `address` can be found in [net.Listen](https ://golang.org/pkg/net/#Listen) (and [net.Dial](https://golang.org/pkg/net/#Dial) ) of the doc for go. | |||
### Forwarded Headers | ### Forwarded Headers | |||
You can configure Traefik to trust the forwarded headers information (`X-Forward ed-*`). | You can configure Traefik to trust the forwarded headers information (`X-Forward ed-*`). | |||
??? info "`forwardedHeaders.trustedIPs`" | ??? info "`forwardedHeaders.trustedIPs`" | |||
skipping to change at line 748 | skipping to change at line 748 | |||
entryPoints: | entryPoints: | |||
websecure: | websecure: | |||
address: ':443' | address: ':443' | |||
http: | http: | |||
middlewares: | middlewares: | |||
- auth@file | - auth@file | |||
- strip@file | - strip@file | |||
``` | ``` | |||
```bash tab="CLI" | ```bash tab="CLI" | |||
entrypoints.websecure.address=:443 | --entrypoints.websecure.address=:443 | |||
entrypoints.websecure.http.middlewares=auth@file,strip@file | --entrypoints.websecure.http.middlewares=auth@file,strip@file | |||
``` | ``` | |||
### TLS | ### TLS | |||
This section is about the default TLS configuration applied to all routers assoc iated with the named entry point. | This section is about the default TLS configuration applied to all routers assoc iated with the named entry point. | |||
If a TLS section (i.e. any of its fields) is user-defined, then the default conf iguration does not apply at all. | If a TLS section (i.e. any of its fields) is user-defined, then the default conf iguration does not apply at all. | |||
The TLS section is the same as the [TLS section on HTTP routers](./routers/index .md#tls). | The TLS section is the same as the [TLS section on HTTP routers](./routers/index .md#tls). | |||
skipping to change at line 795 | skipping to change at line 795 | |||
sans: | sans: | |||
- foo.example.com | - foo.example.com | |||
- bar.example.com | - bar.example.com | |||
- main: test.com | - main: test.com | |||
sans: | sans: | |||
- foo.test.com | - foo.test.com | |||
- bar.test.com | - bar.test.com | |||
``` | ``` | |||
```bash tab="CLI" | ```bash tab="CLI" | |||
entrypoints.websecure.address=:443 | --entrypoints.websecure.address=:443 | |||
entrypoints.websecure.http.tls.options=foobar | --entrypoints.websecure.http.tls.options=foobar | |||
entrypoints.websecure.http.tls.certResolver=leresolver | --entrypoints.websecure.http.tls.certResolver=leresolver | |||
entrypoints.websecure.http.tls.domains[0].main=example.com | --entrypoints.websecure.http.tls.domains[0].main=example.com | |||
entrypoints.websecure.http.tls.domains[0].sans=foo.example.com,bar.example.com | --entrypoints.websecure.http.tls.domains[0].sans=foo.example.com,bar.example.com | |||
entrypoints.websecure.http.tls.domains[1].main=test.com | --entrypoints.websecure.http.tls.domains[1].main=test.com | |||
entrypoints.websecure.http.tls.domains[1].sans=foo.test.com,bar.test.com | --entrypoints.websecure.http.tls.domains[1].sans=foo.test.com,bar.test.com | |||
``` | ``` | |||
??? example "Let's Encrypt" | ??? example "Let's Encrypt" | |||
```toml tab="File (TOML)" | ```toml tab="File (TOML)" | |||
[entryPoints.websecure] | [entryPoints.websecure] | |||
address = ":443" | address = ":443" | |||
[entryPoints.websecure.http.tls] | [entryPoints.websecure.http.tls] | |||
certResolver = "leresolver" | certResolver = "leresolver" | |||
skipping to change at line 824 | skipping to change at line 824 | |||
```yaml tab="File (YAML)" | ```yaml tab="File (YAML)" | |||
entryPoints: | entryPoints: | |||
websecure: | websecure: | |||
address: ':443' | address: ':443' | |||
http: | http: | |||
tls: | tls: | |||
certResolver: leresolver | certResolver: leresolver | |||
``` | ``` | |||
```bash tab="CLI" | ```bash tab="CLI" | |||
entrypoints.websecure.address=:443 | --entrypoints.websecure.address=:443 | |||
entrypoints.websecure.http.tls.certResolver=leresolver | --entrypoints.websecure.http.tls.certResolver=leresolver | |||
``` | ``` | |||
End of changes. 4 change blocks. | ||||
13 lines changed or deleted | 13 lines changed or added |