mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-01 20:54:51 +01:00
21 lines
395 B
YAML
21 lines
395 B
YAML
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRouteTCP
|
||
|
metadata:
|
||
|
name: ingressroutetcp
|
||
|
# (Optional) Namespace
|
||
|
# namespace: your-namespace
|
||
|
# ---
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- web
|
||
|
- websecure
|
||
|
routes:
|
||
|
- match: HostSNI(`your-hostname-sni`)
|
||
|
priority: 10
|
||
|
services:
|
||
|
- name: your-service
|
||
|
port: 80
|
||
|
# (Optional) TLS Passthrough
|
||
|
# tls:
|
||
|
# passthrough: true
|
||
|
# ---
|