set max body size to 50mb [ci skip]

This commit is contained in:
Viktor Barzin 2023-11-10 22:18:45 +00:00
parent 91cab7871c
commit 9ef1b97f83
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -54,6 +54,7 @@ resource "kubernetes_ingress_v1" "proxied-ingress" {
# Do not do hairpinning
"nginx.ingress.kubernetes.io/auth-url" : var.protected ? "http://oauth2.oauth2.svc.cluster.local/oauth2/auth" : null
"nginx.ingress.kubernetes.io/auth-signin" : var.protected ? "http://oauth2.oauth2.svc.cluster.local/oauth2/start?rd=/redirect/$http_host$escaped_request_uri" : null
"nginx.ingress.kubernetes.io/proxy-body-size" : "50m"
}
}