1
0
Fork 0

Use the same case every where for entryPoints.

This commit is contained in:
Ludovic Fernandez 2019-04-15 11:14:05 +02:00 committed by Traefiker Bot
parent b9f826554c
commit 8389b46b5c
74 changed files with 248 additions and 248 deletions

View file

@ -32,16 +32,16 @@ In the process, routers may use pieces of [middleware](../../middlewares/overvie
??? example "Forwarding all (non-tls) requests on port 3306 to a database service"
```toml
[entrypoints]
[entrypoints.mysql-default]
[entryPoints]
[entryPoints.mysql-default]
address = ":80"
[entrypoints.mysql-default]
[entryPoints.mysql-default]
address = ":3306"
[tcp]
[tcp.routers]
[tcp.routers.to-database]
entrypoints = ["mysql-default"]
entryPoints = ["mysql-default"]
rule = "HostSNI(`*`)" # Catch every request (only available rule for non-tls routers. See below.)
service = "database"
```
@ -56,12 +56,12 @@ If you want to limit the router scope to a set of entrypoint, set the entrypoint
??? example "Listens to Every EntryPoint"
```toml
[entrypoints]
[entrypoints.web]
[entryPoints]
[entryPoints.web]
# ...
[entrypoints.web-secure]
[entryPoints.web-secure]
# ...
[entrypoints.other]
[entryPoints.other]
# ...
[http.routers]
@ -74,12 +74,12 @@ If you want to limit the router scope to a set of entrypoint, set the entrypoint
??? example "Listens to Specific EntryPoints"
```toml
[entrypoints]
[entrypoints.web]
[entryPoints]
[entryPoints.web]
# ...
[entrypoint.web-secure]
[entryPoints.web-secure]
# ...
[entrypoint.other]
[entryPoints.other]
# ...
[http.routers]
@ -211,12 +211,12 @@ If you want to limit the router scope to a set of entrypoints, set the entrypoin
??? example "Listens to Every EntryPoint"
```toml
[entrypoints]
[entrypoints.web]
[entryPoints]
[entryPoints.web]
# ...
[entrypoints.web-secure]
[entryPoints.web-secure]
# ...
[entrypoints.other]
[entryPoints.other]
# ...
[tcp.routers]
@ -230,12 +230,12 @@ If you want to limit the router scope to a set of entrypoints, set the entrypoin
??? example "Listens to Specific EntryPoints"
```toml
[entrypoints]
[entrypoints.web]
[entryPoints]
[entryPoints.web]
# ...
[entrypoint.web-secure]
[entryPoints.web-secure]
# ...
[entrypoint.other]
[entryPoints.other]
# ...
[tcp.routers]