ingress-nginx: Increase client max body size
This commit is contained in:
parent
d1c429c170
commit
77e1610cb6
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue