Skip to content

Commit

Permalink
Fix typos in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k authored and traefiker committed May 17, 2019
1 parent f6df556 commit 97ec764
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/storeconfig/storeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
func NewCmd(traefikConfiguration *cmd.TraefikConfiguration, traefikPointersConfiguration *cmd.TraefikConfiguration) *flaeg.Command {
return &flaeg.Command{
Name: "storeconfig",
Description: `Stores the static traefik configuration into a Key-value stores. Traefik will not start.`,
Description: `Stores the static traefik configuration into a Key-value store. Traefik will not start.`,
Config: traefikConfiguration,
DefaultPointersConfig: traefikPointersConfiguration,
HideHelp: true, // TODO storeconfig
Expand Down
2 changes: 1 addition & 1 deletion docs/content/getting-started/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ it knows all the logic and every rule that determine which services handle which

Where traditionally edge routers (or reverse proxies) need a configuration file that contains every possible route to your services, Traefik gets them from the services themselves.

Deploying your services, you attach information that tell Traefik the characteristics of the requests the services can handle.
Deploying your services, you attach information that tells Traefik the characteristics of the requests the services can handle.

![Decentralized Configuration](../assets/img/traefik-concepts-2.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/content/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ docker-compose up -d --scale whoami=2

Go back to your browser ([http://localhost:8080/api/rawdata](http://localhost:8080/api/rawdata)) and see that Traefik has automatically detected the new instance of the container.

Finally, see that Traefik load-balances between the two instances of your services by running twice the following command:
Finally, see that Traefik load-balances between the two instances of your service by running the following command twice:

```shell
curl -H Host:whoami.docker.localhost http://127.0.0.1
Expand Down
4 changes: 2 additions & 2 deletions docs/content/operations/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ traefik [command] [--flag=flag_argument]

Available commands:

- `version` : Print version
- `storeconfig` : Store the static Traefik configuration into a Key-value stores. Please refer to the `Store Traefik configuration`(TODO: add doc and link) section to get documentation on it.
- `version` : Print version
- `storeconfig` : Store the static Traefik configuration into a Key-value store. Please refer to the `Store Traefik configuration`(TODO: add doc and link) section to get documentation on it.
- `healthcheck`: Calls Traefik `/ping` to check health.

Each command can have additional flags.
Expand Down
4 changes: 2 additions & 2 deletions docs/content/providers/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Traefik requires access to the docker socket to get its dynamic configuration.
- [KubeCon EU 2018 Keynote, Running with Scissors, from Liz Rice](https://www.youtube.com/watch?v=ltrV-Qmh3oY)
- [Don't expose the Docker socket (not even to a container)](https://www.lvh.io/posts/dont-expose-the-docker-socket-not-even-to-a-container.html)
- [A thread on Stack Overflow about sharing the `/var/run/docker.sock` file](https://news.ycombinator.com/item?id=17983623)
- [To Dind or not to DinD](https://blog.loof.fr/2018/01/to-dind-or-not-do-dind.html)
- [To DinD or not to DinD](https://blog.loof.fr/2018/01/to-dind-or-not-do-dind.html)

??? tip "Security Compensation"

Expand Down Expand Up @@ -273,7 +273,7 @@ You can declare TCP Routers and/or Services using labels.

!!! warning "TCP and HTTP"

If you declare a TCP Router/Service, it will prevent Traefik from automatically create an HTTP Router/Service (like it does by default if no TCP Router/Service is defined).
If you declare a TCP Router/Service, it will prevent Traefik from automatically creating an HTTP Router/Service (like it does by default if no TCP Router/Service is defined).
You can declare both a TCP Router/Service and an HTTP Router/Service for the same container (but you have to do so manually).

### Specific Options
Expand Down
2 changes: 1 addition & 1 deletion docs/content/providers/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Below is the list of the currently supported providers in Traefik.

## Constraints Configuration

If you want to limit the scope of Traefik service discovery, you can set constraints.
If you want to limit the scope of Traefik's service discovery, you can set constraints.
Doing so, Traefik will create routes for containers that match these constraints only.

??? example "Containers with the api Tag"
Expand Down
2 changes: 1 addition & 1 deletion docs/content/routing/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
What's Happening to the Requests?
{: .subtitle }

Let's zoom on Traefik's architecture and talk about the components that enable the routes to be created.
Let's zoom in on Traefik's architecture and talk about the components that enable the routes to be created.

First, when you start Traefik, you define [entrypoints](../entrypoints) (in their most basic forms, they are port numbers).
Then, connected to these entrypoints, [routers](../routers) analyze the incoming requests to see if they match a set of [rules](../routers#rule).
Expand Down
4 changes: 2 additions & 2 deletions docs/content/routing/routers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ In the process, routers may use pieces of [middleware](../../middlewares/overvie
### EntryPoints

If not specified, HTTP routers will accept requests from all defined entrypoints.
If you want to limit the router scope to a set of entrypoint, set the entrypoints option.
If you want to limit the router scope to a set of entrypoints, set the entrypoints option.

??? example "Listens to Every EntryPoint"

Expand Down Expand Up @@ -92,7 +92,7 @@ If you want to limit the router scope to a set of entrypoint, set the entrypoint
### Rule

Rules are a set of matchers that determine if a particular request matches specific criteria.
If the rule is verified, then the router becomes active and calls middlewares, then forward the request to the service.
If the rule is verified, the router becomes active, calls middlewares, and then forwards the request to the service.

??? example "Host is traefik.io"

Expand Down

0 comments on commit 97ec764

Please sign in to comment.