Increase size limit for Gitea uploads/attachments

The default limit in nginx is only 1MB. This increases it to 20MB.

fixes #188
This commit is contained in:
Basti 2020-08-05 15:53:13 +02:00
parent f235aee17a
commit 9a28a03265
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -22,6 +22,8 @@ server {
}
<% end -%>
client_max_body_size 20M;
location / {
# Increase number of buffers. Default is 8
proxy_buffers 1024 8k;