-
Notifications
You must be signed in to change notification settings - Fork 2
/
ingress.yaml
37 lines (37 loc) · 1.18 KB
/
ingress.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bitwarden-ing
namespace: bitwarden
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "Request-Id: $req_id";
nginx.ingress.kubernetes.io/connection-proxy-header: "keep-alive"
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/limit-connections: "25"
nginx.ingress.kubernetes.io/limit-rps: "15"
nginx.ingress.kubernetes.io/proxy-body-size: 1024m
nginx.ingress.kubernetes.io/proxy-connect-timeout: "10"
nginx.ingress.kubernetes.io/proxy-send-timeout: "1800"
nginx.ingress.kubernetes.io/proxy-read-timeout: "1800"
spec:
tls:
- hosts:
- bitwarden.foo.io
secretName: foo-io-wildcardssl
rules:
- host: bitwarden.foo.io
http:
paths:
- path: /
backend:
serviceName: bitwarden
servicePort: 80
- path: /notifications/hub
backend:
serviceName: bitwarden
servicePort: 3012