Remove old global config and use new static config
This commit is contained in:
parent
c39d21c178
commit
5d91c7e15c
114 changed files with 2485 additions and 3646 deletions
|
@ -1,5 +1,4 @@
|
|||
defaultEntryPoints = ["http"]
|
||||
|
||||
[log]
|
||||
logLevel = "DEBUG"
|
||||
|
||||
[entryPoints]
|
||||
|
@ -8,7 +7,8 @@ logLevel = "DEBUG"
|
|||
|
||||
[api]
|
||||
|
||||
[file]
|
||||
[providers]
|
||||
[providers.file]
|
||||
|
||||
[Routers]
|
||||
[Routers.router1]
|
||||
|
|
|
@ -1,19 +1,22 @@
|
|||
defaultEntryPoints = ["wss"]
|
||||
|
||||
[log]
|
||||
logLevel = "DEBUG"
|
||||
|
||||
[serversTransport]
|
||||
insecureSkipVerify=true
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.wss]
|
||||
address = ":8000"
|
||||
[entryPoints.wss.tls]
|
||||
[[entryPoints.wss.tls.certificates]]
|
||||
[entryPoints.wss.tls.DefaultCertificate]
|
||||
certFile = "resources/tls/local.cert"
|
||||
keyFile = "resources/tls/local.key"
|
||||
|
||||
[api]
|
||||
|
||||
[file]
|
||||
|
||||
[providers]
|
||||
[providers.file]
|
||||
|
||||
[Routers]
|
||||
[Routers.router1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue