21 lines
620 B
YAML
21 lines
620 B
YAML
|
http:
|
||
|
routers:
|
||
|
example-tls-router:
|
||
|
rule: "Host(`example-tls.domain.tld`)"
|
||
|
service: example-tls-service
|
||
|
# Optionally, you can add TLS configuration here if your router is serving HTTPS
|
||
|
|
||
|
services:
|
||
|
example-tls-service:
|
||
|
loadBalancer:
|
||
|
servers:
|
||
|
- url: "https://192.168.0.146"
|
||
|
passHostHeader: true
|
||
|
# Skip TLS verification for the self-signed certificate
|
||
|
serversTransport: "example-tls-servers-transport"
|
||
|
|
||
|
# Define the serversTransport to skip TLS verification
|
||
|
serversTransports:
|
||
|
example-tls-servers-transport:
|
||
|
insecureSkipVerify: true
|