2019-02-26 13:50:07 +00:00
|
|
|
# EntryPoints - Reference
|
|
|
|
|
|
|
|
Every Options for EntryPoints
|
|
|
|
{: .subtitle}
|
|
|
|
|
|
|
|
## TOML
|
|
|
|
|
|
|
|
```toml
|
|
|
|
# ...
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[entrypoints]
|
|
|
|
[entrypoints.web]
|
2019-02-26 13:50:07 +00:00
|
|
|
address = ":80"
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[entrypoints.web.proxyProtocol]
|
2019-02-26 13:50:07 +00:00
|
|
|
insecure = true
|
|
|
|
trustedIPs = ["10.10.10.1", "10.10.10.2"]
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[entrypoints.web.forwardedHeaders]
|
2019-02-26 13:50:07 +00:00
|
|
|
trustedIPs = ["10.10.10.1", "10.10.10.2"]
|
|
|
|
insecure = false
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[entrypoints.web-secure]
|
2019-02-26 13:50:07 +00:00
|
|
|
# ...
|
|
|
|
```
|
|
|
|
|
|
|
|
## CLI
|
|
|
|
|
|
|
|
```ini
|
|
|
|
Name:foo
|
|
|
|
Address::80
|
|
|
|
ProxyProtocol.TrustedIPs:192.168.0.1
|
|
|
|
ProxyProtocol.Insecure:true
|
|
|
|
ForwardedHeaders.TrustedIPs:10.0.0.3/24,20.0.0.3/24
|
|
|
|
```
|