clip hinzugefügt
This commit is contained in:
38
clip
Normal file
38
clip
Normal file
@@ -0,0 +1,38 @@
|
||||
http:
|
||||
routers:
|
||||
# HTTP-Router: Leitet HTTP unmodifiziert weiter
|
||||
router-http:
|
||||
rule: "HostRegexp(`{subdomain:.+}.k8s.xxx`)"
|
||||
entryPoints:
|
||||
- web
|
||||
service: k3s-service-http
|
||||
|
||||
# HTTPS-Router: Terminiert TLS mit em Dummy-Zertifikat
|
||||
router-https:
|
||||
rule: "HostRegexp(`{subdomain:.+}.k8s.xxx`)"
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: k3s-service-https
|
||||
tls: {} # Nützlich für d'Benutzung vo dim Dummy-Zertifikat
|
||||
|
||||
services:
|
||||
k3s-service-http:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://10.10.10.10"
|
||||
k3s-service-https:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "https://10.10.10.10"
|
||||
serverTransport: k3s-transport
|
||||
|
||||
# ServerTransport für HTTPS: Schaltet d'Zertifikatvalidierig ab (weil dummy!)
|
||||
serversTransport:
|
||||
k3s-transport:
|
||||
insecureSkipVerify: true
|
||||
|
||||
# TLS Konfiguration: Dummy-Zertifikat
|
||||
tls:
|
||||
certificates:
|
||||
- certFile: "/path/zum/dummy.crt"
|
||||
keyFile: "/path/zum/dummy.key"
|
||||
Reference in New Issue
Block a user