This commit is contained in:
Simen Røstvik 2022-11-15 09:24:10 +01:00
parent bbfa38761f
commit bb5e76e1a4
2 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,15 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
annotations:
name: traefik-dash
namespace: traefik
spec:
entryPoints:
- web
routes:
- kind: Rule
match: Host(`traefik.roxedus.com`) && ( PathPrefix(`/dashboard`) || PathPrefix(`/api`))
services:
- kind: TraefikService
name: api@internal

View File

@ -45,12 +45,12 @@ spec:
protocol: TCP protocol: TCP
web: web:
port: 8000 port: 8000
expose: true expose: false
exposedPort: 80 exposedPort: 80
protocol: TCP protocol: TCP
websecure: websecure:
port: 8443 port: 8443
expose: true expose: false
exposedPort: 443 exposedPort: 443
protocol: TCP protocol: TCP
http3: true http3: true
@ -62,7 +62,7 @@ spec:
udp: udp:
port: 6666 port: 6666
protocol: UDP protocol: UDP
expose: true expose: false
tlsOptions: tlsOptions:
default: default: