2023-12-25 21:08:55 +00:00
|
|
|
http:
|
|
|
|
routers:
|
|
|
|
unifi-router:
|
|
|
|
rule: "Host(`unifi.dudenhoeffer.casa`)"
|
|
|
|
service: unifi-service
|
|
|
|
# Optionally, you can add TLS configuration here if your router is serving HTTPS
|
|
|
|
|
|
|
|
services:
|
|
|
|
unifi-service:
|
|
|
|
loadBalancer:
|
|
|
|
servers:
|
2024-03-22 01:22:23 +00:00
|
|
|
- url: "https://192.168.0.244"
|
2023-12-25 21:08:55 +00:00
|
|
|
passHostHeader: true
|
|
|
|
# Skip TLS verification for the self-signed certificate
|
|
|
|
serversTransport: "unifi-servers-transport"
|
|
|
|
|
|
|
|
# Define the serversTransport to skip TLS verification
|
|
|
|
serversTransports:
|
|
|
|
unifi-servers-transport:
|
|
|
|
insecureSkipVerify: true
|