ingress
This commit is contained in:
parent
bbfa38761f
commit
bb5e76e1a4
15
Deployments/traefik-ingress.yaml
Normal file
15
Deployments/traefik-ingress.yaml
Normal 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
|
@ -45,12 +45,12 @@ spec:
|
||||
protocol: TCP
|
||||
web:
|
||||
port: 8000
|
||||
expose: true
|
||||
expose: false
|
||||
exposedPort: 80
|
||||
protocol: TCP
|
||||
websecure:
|
||||
port: 8443
|
||||
expose: true
|
||||
expose: false
|
||||
exposedPort: 443
|
||||
protocol: TCP
|
||||
http3: true
|
||||
@ -62,7 +62,7 @@ spec:
|
||||
udp:
|
||||
port: 6666
|
||||
protocol: UDP
|
||||
expose: true
|
||||
expose: false
|
||||
|
||||
tlsOptions:
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user