steveternet/nas/traefik/custom/example-tls.yml

21 lines
620 B
YAML
Raw Normal View History

2024-03-24 02:26:04 +00:00
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