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: metadata:
name: ingress name: ingress
annotations: annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 5m nginx.ingress.kubernetes.io/proxy-body-size: 10m
nginx.ingress.kubernetes.io/server-snippet: | nginx.ingress.kubernetes.io/server-snippet: |
if ($http_user_agent ~* "BLEXBot|SemrushBot|AhrefsBot" ) { if ($http_user_agent ~* "BLEXBot|SemrushBot|AhrefsBot" ) {
return 403; return 403;

View File

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