Server-Side-Implementation
This commit is contained in:
34
k3s.yaml
Normal file
34
k3s.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: vt-fe
|
||||
namespace: vt
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`vt.kocoder.xyz`)
|
||||
observability:
|
||||
accessLogs: true
|
||||
metrics: true
|
||||
tracing: true
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: vt-fe
|
||||
namespace: vt
|
||||
passHostHeader: true
|
||||
port: 3000
|
||||
responseForwarding:
|
||||
flushInterval: 1ms
|
||||
scheme: http
|
||||
sticky:
|
||||
cookie:
|
||||
httpOnly: true
|
||||
name: cookie
|
||||
secure: true
|
||||
strategy: wrr
|
||||
weight: 10
|
||||
Reference in New Issue
Block a user