added example custom entries for traefik
This commit is contained in:
parent
69348652df
commit
2d66692b26
20
pi/traefik/custom/example-tls.yml
Normal file
20
pi/traefik/custom/example-tls.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
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
|
13
pi/traefik/custom/example.yml
Normal file
13
pi/traefik/custom/example.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
http:
|
||||||
|
routers:
|
||||||
|
example-router:
|
||||||
|
rule: "Host(`example.domain.tld`)"
|
||||||
|
service: example-service
|
||||||
|
|
||||||
|
services:
|
||||||
|
example-service:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://192.168.0.197:8081"
|
||||||
|
passHostHeader: true
|
Loading…
x
Reference in New Issue
Block a user