ingress-nginx: Increase client max body size

This commit is contained in:
Rob Watson 2022-08-31 19:53:34 +02:00
parent d1c429c170
commit 77e1610cb6
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ kind: Ingress
metadata:
name: ingress
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 5m
nginx.ingress.kubernetes.io/proxy-body-size: 10m
nginx.ingress.kubernetes.io/server-snippet: |
if ($http_user_agent ~* "BLEXBot|SemrushBot|AhrefsBot" ) {
return 403;

View File

@ -30,7 +30,7 @@ spec:
runAsGroup: 1000
initContainers:
- name: init-gitea
image: gitea/gitea:1.17.0-rootless
image: gitea/gitea:1.17.1-rootless
imagePullPolicy: IfNotPresent
command: ["/usr/sbin/init-directory-structure.sh"]
env:
@ -53,7 +53,7 @@ spec:
subPath: init-directory-structure.sh
name: scripts
- name: setup-gitea
image: gitea/gitea:1.17.0-rootless
image: gitea/gitea:1.17.1-rootless
imagePullPolicy: IfNotPresent
command: ["/usr/sbin/setup.sh"]
env:
@ -97,7 +97,7 @@ spec:
readOnlyRootFilesystem: true
containers:
- name: gitea
image: gitea/gitea:1.17.0-rootless
image: gitea/gitea:1.17.1-rootless
imagePullPolicy: Always
ports:
- name: http