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:
parent
f235aee17a
commit
9a28a03265
@ -22,6 +22,8 @@ server {
|
|||||||
}
|
}
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
client_max_body_size 20M;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# Increase number of buffers. Default is 8
|
# Increase number of buffers. Default is 8
|
||||||
proxy_buffers 1024 8k;
|
proxy_buffers 1024 8k;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user