Closed
Description
Description
I had problems with Gitea behind an nginx reverse proxy when trying to push big git LFS files.
I configured nginx like described in https://docs.gitea.io/en-us/administration/reverse-proxies/#nginx
The problem apparently was that nginx has a default size limit for uploading via http (at least in the default configuration on Ubuntu?), which can be overriden with client_max_body_size
(e.g. `client_max_body_size 0; for "no limit").
Example:
server {
listen 80;
server_name git.example.com;
# DG: disable size checking for uploads to prevent LFS problems
client_max_body_size 0;
location / {
proxy_pass http://127.0.0.1:3000;
...
Gitea Version
any
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
behind a nginx reverse proxy
Database
None