gitea: Increase limit for http request body size
This commit is contained in:
parent
7c921cf76b
commit
69411beca5
2 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,7 @@
|
|||
ansible.builtin.copy:
|
||||
dest: "/etc/nginx/conf.d/{{ inventory_hostname }}/gitea.conf"
|
||||
content: |
|
||||
client_max_body_size 100m;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
}
|
||||
|
|
2
roles/nginx/site/templates/git.foo.sh.conf.j2
Normal file
2
roles/nginx/site/templates/git.foo.sh.conf.j2
Normal file
|
@ -0,0 +1,2 @@
|
|||
# disable any limits to avoid HTTP 413 for large pushes
|
||||
client_max_body_size 100m;
|
Loading…
Add table
Reference in a new issue