gitea: Increase limit for http request body size

This commit is contained in:
Timo Makinen 2023-07-21 17:07:13 +00:00
parent 7c921cf76b
commit 69411beca5
2 changed files with 3 additions and 0 deletions

View file

@ -83,6 +83,7 @@
ansible.builtin.copy: ansible.builtin.copy:
dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/gitea.conf" dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/gitea.conf"
content: | content: |
client_max_body_size 100m;
location / { location / {
proxy_pass http://127.0.0.1:3000; proxy_pass http://127.0.0.1:3000;
} }

View file

@ -0,0 +1,2 @@
# disable any limits to avoid HTTP 413 for large pushes
client_max_body_size 100m;