Skip to content

Commit

Permalink
fix nginx ingress when tls is off
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson authored Jan 16, 2025
1 parent 1bb422c commit 0f41c4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/vaultwarden/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ metadata:
{{- end }}
nginx.ingress.kubernetes.io/connection-proxy-header: "keep-alive"
nginx.ingress.kubernetes.io/enable-cors: "true"
{{- if $ingress.tls }}
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
{{ - end }}
nginx.ingress.kubernetes.io/limit-connections: "25"
nginx.ingress.kubernetes.io/limit-rps: "15"
nginx.ingress.kubernetes.io/proxy-body-size: 1024m
Expand Down

0 comments on commit 0f41c4c

Please sign in to comment.