mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
Fix http scheme urls in documentation
This commit is contained in:
parent
eb6c5fc34d
commit
be52c5abb1
@ -1,6 +1,6 @@
|
|||||||
# Security Policy
|
# Security Policy
|
||||||
|
|
||||||
We strongly advise you to register your Traefik instances to [Pilot](http://pilot.traefik.io) to be notified of security advisories that apply to your Traefik version.
|
We strongly advise you to register your Traefik instances to [Pilot](https://pilot.traefik.io) to be notified of security advisories that apply to your Traefik version.
|
||||||
You can also join our security mailing list to be aware of the latest announcements from our security team.
|
You can also join our security mailing list to be aware of the latest announcements from our security team.
|
||||||
You can subscribe sending a mail to security+subscribe@traefik.io or on [the online viewer](https://groups.google.com/a/traefik.io/forum/#!forum/security).
|
You can subscribe sending a mail to security+subscribe@traefik.io or on [the online viewer](https://groups.google.com/a/traefik.io/forum/#!forum/security).
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ docker run --rm -v /home/user/go/github/traefik/traefik:/mkdocs -p 8000:8000 tr
|
|||||||
|
|
||||||
!!! tip "Default URL"
|
!!! tip "Default URL"
|
||||||
|
|
||||||
Your local documentation server will run by default on [http://127.0.0.1:8000](http://127.0.0.1:8000).
|
Your local documentation server will run by default on <http://127.0.0.1:8000>.
|
||||||
|
|
||||||
If you only want to build the documentation without serving it locally, you can use the following command:
|
If you only want to build the documentation without serving it locally, you can use the following command:
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ Start your `reverse-proxy` with the following command:
|
|||||||
docker-compose up -d reverse-proxy
|
docker-compose up -d reverse-proxy
|
||||||
```
|
```
|
||||||
|
|
||||||
You can open a browser and go to [http://localhost:8080/api/rawdata](http://localhost:8080/api/rawdata) to see Traefik's API rawdata (we'll go back there once we have launched a service in step 2).
|
You can open a browser and go to <http://localhost:8080/api/rawdata> to see Traefik's API rawdata (we'll go back there once we have launched a service in step 2).
|
||||||
|
|
||||||
## Traefik Detects New Services and Creates the Route for You
|
## Traefik Detects New Services and Creates the Route for You
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ Start the `whoami` service with the following command:
|
|||||||
docker-compose up -d whoami
|
docker-compose up -d whoami
|
||||||
```
|
```
|
||||||
|
|
||||||
Go back to your browser ([http://localhost:8080/api/rawdata](http://localhost:8080/api/rawdata)) and see that Traefik has automatically detected the new container and updated its own configuration.
|
Go back to your browser (<http://localhost:8080/api/rawdata>) and see that Traefik has automatically detected the new container and updated its own configuration.
|
||||||
|
|
||||||
When Traefik detects new services, it creates the corresponding routes so you can call them ... _let's see!_ (Here, we're using curl)
|
When Traefik detects new services, it creates the corresponding routes so you can call them ... _let's see!_ (Here, we're using curl)
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ Run more instances of your `whoami` service with the following command:
|
|||||||
docker-compose up -d --scale whoami=2
|
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.
|
Go back to your browser (<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 service by running the following command twice:
|
Finally, see that Traefik load-balances between the two instances of your service by running the following command twice:
|
||||||
|
|
||||||
|
@ -314,7 +314,7 @@ For complete details, refer to your provider's _Additional configuration_ link.
|
|||||||
| [Exoscale](https://www.exoscale.com) | `exoscale` | `EXOSCALE_API_KEY`, `EXOSCALE_API_SECRET`, `EXOSCALE_ENDPOINT` | [Additional configuration](https://go-acme.github.io/lego/dns/exoscale) |
|
| [Exoscale](https://www.exoscale.com) | `exoscale` | `EXOSCALE_API_KEY`, `EXOSCALE_API_SECRET`, `EXOSCALE_ENDPOINT` | [Additional configuration](https://go-acme.github.io/lego/dns/exoscale) |
|
||||||
| [Fast DNS](https://www.akamai.com/) | `fastdns` | `AKAMAI_CLIENT_TOKEN`, `AKAMAI_CLIENT_SECRET`, `AKAMAI_ACCESS_TOKEN` | [Additional configuration](https://go-acme.github.io/lego/dns/edgedns) |
|
| [Fast DNS](https://www.akamai.com/) | `fastdns` | `AKAMAI_CLIENT_TOKEN`, `AKAMAI_CLIENT_SECRET`, `AKAMAI_ACCESS_TOKEN` | [Additional configuration](https://go-acme.github.io/lego/dns/edgedns) |
|
||||||
| [Gandi](https://www.gandi.net) | `gandi` | `GANDI_API_KEY` | [Additional configuration](https://go-acme.github.io/lego/dns/gandi) |
|
| [Gandi](https://www.gandi.net) | `gandi` | `GANDI_API_KEY` | [Additional configuration](https://go-acme.github.io/lego/dns/gandi) |
|
||||||
| [Gandi v5](http://doc.livedns.gandi.net) | `gandiv5` | `GANDIV5_API_KEY` | [Additional configuration](https://go-acme.github.io/lego/dns/gandiv5) |
|
| [Gandi v5](https://doc.livedns.gandi.net) | `gandiv5` | `GANDIV5_API_KEY` | [Additional configuration](https://go-acme.github.io/lego/dns/gandiv5) |
|
||||||
| [Glesys](https://glesys.com/) | `glesys` | `GLESYS_API_USER`, `GLESYS_API_KEY`, `GLESYS_DOMAIN` | [Additional configuration](https://go-acme.github.io/lego/dns/glesys) |
|
| [Glesys](https://glesys.com/) | `glesys` | `GLESYS_API_USER`, `GLESYS_API_KEY`, `GLESYS_DOMAIN` | [Additional configuration](https://go-acme.github.io/lego/dns/glesys) |
|
||||||
| [GoDaddy](https://godaddy.com/) | `godaddy` | `GODADDY_API_KEY`, `GODADDY_API_SECRET` | [Additional configuration](https://go-acme.github.io/lego/dns/godaddy) |
|
| [GoDaddy](https://godaddy.com/) | `godaddy` | `GODADDY_API_KEY`, `GODADDY_API_SECRET` | [Additional configuration](https://go-acme.github.io/lego/dns/godaddy) |
|
||||||
| [Google Cloud DNS](https://cloud.google.com/dns/docs/) | `gcloud` | `GCE_PROJECT`, Application Default Credentials [^2] [^3], [`GCE_SERVICE_ACCOUNT_FILE`] | [Additional configuration](https://go-acme.github.io/lego/dns/gcloud) |
|
| [Google Cloud DNS](https://cloud.google.com/dns/docs/) | `gcloud` | `GCE_PROJECT`, Application Default Credentials [^2] [^3], [`GCE_SERVICE_ACCOUNT_FILE`] | [Additional configuration](https://go-acme.github.io/lego/dns/gcloud) |
|
||||||
|
@ -532,7 +532,7 @@ The default host rule for all services.
|
|||||||
|
|
||||||
For a given service, if no routing rule was defined by a tag, it is defined by this `defaultRule` instead.
|
For a given service, if no routing rule was defined by a tag, it is defined by this `defaultRule` instead.
|
||||||
The `defaultRule` must be set to a valid [Go template](https://golang.org/pkg/text/template/),
|
The `defaultRule` must be set to a valid [Go template](https://golang.org/pkg/text/template/),
|
||||||
and can include [sprig template functions](http://masterminds.github.io/sprig/).
|
and can include [sprig template functions](https://masterminds.github.io/sprig/).
|
||||||
The service name can be accessed with the `Name` identifier,
|
The service name can be accessed with the `Name` identifier,
|
||||||
and the template has access to all the labels (i.e. tags beginning with the `prefix`) defined on this service.
|
and the template has access to all the labels (i.e. tags beginning with the `prefix`) defined on this service.
|
||||||
|
|
||||||
|
@ -428,7 +428,7 @@ _Optional, Default=```Host(`{{ normalize .Name }}`)```_
|
|||||||
The `defaultRule` option defines what routing rule to apply to a container if no rule is defined by a label.
|
The `defaultRule` option defines what routing rule to apply to a container if no rule is defined by a label.
|
||||||
|
|
||||||
It must be a valid [Go template](https://golang.org/pkg/text/template/), and can use
|
It must be a valid [Go template](https://golang.org/pkg/text/template/), and can use
|
||||||
[sprig template functions](http://masterminds.github.io/sprig/).
|
[sprig template functions](https://masterminds.github.io/sprig/).
|
||||||
The container service name can be accessed with the `Name` identifier,
|
The container service name can be accessed with the `Name` identifier,
|
||||||
and the template has access to all the labels defined on this container.
|
and the template has access to all the labels defined on this container.
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ _Optional, Default=```Host(`{{ normalize .Name }}`)```_
|
|||||||
The `defaultRule` option defines what routing rule to apply to a container if no rule is defined by a label.
|
The `defaultRule` option defines what routing rule to apply to a container if no rule is defined by a label.
|
||||||
|
|
||||||
It must be a valid [Go template](https://golang.org/pkg/text/template/), and can use
|
It must be a valid [Go template](https://golang.org/pkg/text/template/), and can use
|
||||||
[sprig template functions](http://masterminds.github.io/sprig/).
|
[sprig template functions](https://masterminds.github.io/sprig/).
|
||||||
The container service name can be accessed with the `Name` identifier,
|
The container service name can be accessed with the `Name` identifier,
|
||||||
and the template has access to all the labels defined on this container.
|
and the template has access to all the labels defined on this container.
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ providers:
|
|||||||
|
|
||||||
Traefik supports using Go templating to automatically generate repetitive sections of configuration files.
|
Traefik supports using Go templating to automatically generate repetitive sections of configuration files.
|
||||||
These sections must be a valid [Go template](https://golang.org/pkg/text/template/), and can use
|
These sections must be a valid [Go template](https://golang.org/pkg/text/template/), and can use
|
||||||
[sprig template functions](http://masterminds.github.io/sprig/).
|
[sprig template functions](https://masterminds.github.io/sprig/).
|
||||||
|
|
||||||
To illustrate, it is possible to easily define multiple routers, services, and TLS certificates as described in the following examples:
|
To illustrate, it is possible to easily define multiple routers, services, and TLS certificates as described in the following examples:
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ The default host rule for all services.
|
|||||||
For a given application, if no routing rule was defined by a label, it is defined by this `defaultRule` instead.
|
For a given application, if no routing rule was defined by a label, it is defined by this `defaultRule` instead.
|
||||||
|
|
||||||
It must be a valid [Go template](https://golang.org/pkg/text/template/),
|
It must be a valid [Go template](https://golang.org/pkg/text/template/),
|
||||||
and can include [sprig template functions](http://masterminds.github.io/sprig/).
|
and can include [sprig template functions](https://masterminds.github.io/sprig/).
|
||||||
|
|
||||||
The app ID can be accessed with the `Name` identifier,
|
The app ID can be accessed with the `Name` identifier,
|
||||||
and the template has access to all the labels defined on this Marathon application.
|
and the template has access to all the labels defined on this Marathon application.
|
||||||
|
@ -96,7 +96,7 @@ The default host rule for all services.
|
|||||||
The `defaultRule` option defines what routing rule to apply to a container if no rule is defined by a label.
|
The `defaultRule` option defines what routing rule to apply to a container if no rule is defined by a label.
|
||||||
|
|
||||||
It must be a valid [Go template](https://golang.org/pkg/text/template/), and can use
|
It must be a valid [Go template](https://golang.org/pkg/text/template/), and can use
|
||||||
[sprig template functions](http://masterminds.github.io/sprig/).
|
[sprig template functions](https://masterminds.github.io/sprig/).
|
||||||
The service name can be accessed with the `Name` identifier,
|
The service name can be accessed with the `Name` identifier,
|
||||||
and the template has access to all the labels defined on this container.
|
and the template has access to all the labels defined on this container.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user