Handle RootCAs Certificate
This commit is contained in:
parent
3776e58041
commit
81d011e57d
8 changed files with 245 additions and 32 deletions
25
integration/fixtures/https/rootcas/https_with_file.toml
Normal file
25
integration/fixtures/https/rootcas/https_with_file.toml
Normal file
|
@ -0,0 +1,25 @@
|
|||
logLevel = "DEBUG"
|
||||
|
||||
defaultEntryPoints = ["http"]
|
||||
|
||||
# Use certificate in net/internal/testcert.go
|
||||
RootCAs = [ "fixtures/https/rootcas/local.crt"]
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8081"
|
||||
|
||||
[web]
|
||||
address = ":8080"
|
||||
|
||||
[file]
|
||||
|
||||
[backends]
|
||||
[backends.backend1]
|
||||
[backends.backend1.servers.server1]
|
||||
url = "{{ .BackendHost }}"
|
||||
[frontends]
|
||||
[frontends.frontend1]
|
||||
backend = "backend1"
|
||||
[frontends.frontend1.routes.test_1]
|
||||
rule = "Path: /ping"
|
Loading…
Add table
Add a link
Reference in a new issue