forked from traefik/traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Ludovic Fernandez <[email protected]> Co-authored-by: Julien Salleyron <[email protected]>
- Loading branch information
1 parent
693d5da
commit a002ccf
Showing
22 changed files
with
754 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[global] | ||
checkNewVersion = false | ||
sendAnonymousUsage = false | ||
|
||
[log] | ||
level = "DEBUG" | ||
|
||
[entryPoints] | ||
[entryPoints.web] | ||
address = "{{ .PortHTTP }}" | ||
[entryPoints.websecure] | ||
address = "{{ .PortHTTPS }}" | ||
|
||
{{range $name, $resolvers := .Acme }} | ||
|
||
[certificatesResolvers.{{ $name }}.acme] | ||
email = "[email protected]" | ||
storage = "/tmp/acme.json" | ||
keyType = "{{ $resolvers.ACME.KeyType }}" | ||
caServer = "{{ $resolvers.ACME.CAServer }}" | ||
|
||
{{if $resolvers.ACME.HTTPChallenge }} | ||
[certificatesResolvers.{{ $name }}.acme.httpChallenge] | ||
entryPoint = "{{ $resolvers.ACME.HTTPChallenge.EntryPoint }}" | ||
{{end}} | ||
|
||
{{if $resolvers.ACME.TLSChallenge }} | ||
[certificatesResolvers.{{ $name }}.acme.tlsChallenge] | ||
{{end}} | ||
|
||
{{end}} | ||
|
||
[api] | ||
insecure = true | ||
|
||
[providers.file] | ||
filename = "{{ .SelfFilename }}" | ||
|
||
## dynamic configuration ## | ||
|
||
[http.services] | ||
[http.services.test.loadBalancer] | ||
[[http.services.test.loadBalancer.servers]] | ||
url = "http://127.0.0.1:9010" | ||
|
||
[http.routers] | ||
[http.routers.test] | ||
entryPoints = ["websecure"] | ||
rule = "PathPrefix(`/`)" | ||
service = "test" | ||
[http.routers.test.tls] | ||
|
||
[tls.stores] | ||
[tls.stores.default.defaultGeneratedCert] | ||
resolver = "default" | ||
[tls.stores.default.defaultGeneratedCert.domain] | ||
main = "{{ .Domain.Main }}" | ||
sans = [{{range .Domain.SANs }} | ||
"{{.}}", | ||
{{end}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.