Hi, created several http plain endpoints but now issues with a https endpoint.
What I do wrong here?
Response: Internal Server Error
http:
routers:
unifi:
entryPoints:
- web-secure
service: unifi
rule: "Host(`unifi.kdorf.net`)"
tls:
certResolver: "route53"
services:
unifi:
loadBalancer:
servers:
- url: "https://192.168.178.5:8443"
Enable and check Traefik debug log and Traefik access log in JSON format.
I would assume you need to use url: "http://192.168.178.5
or load the custom cert of the target service or use insecureSkipVerify
.
Created a serverTransports in dynamic config.
How can I bring the things together? That is not clear for me.
serversTransports:
unifi:
insecureSkipVerify: true
You need to assign it to the Traefik service (doc):
## Dynamic configuration
http:
services:
Service01:
loadBalancer:
serversTransport: mytransport
(Or you declare global insecureSkipVerify
in static config for all services.)
I would like to ask for more advice
Shouldn't that do the trick? What do i miss here?
I get this error
ERR Error while building configuration (for the first time) error="field not found, node: serversTransports" providerName=file
http:
services:
unifi:
loadBalancer:
serversTransports: unifi
servers:
- url: "https://192.168.178.5:8443"
serversTransports:
unifi:
insecureSkipVerify: true
Strange, seems to be according to doc:
## Dynamic configuration
http:
serversTransports:
mytransport:
insecureSkipVerify: true