Replies: 1 comment
-
After applying the following Nginx configuration changes, the issues described previously appear to be resolved:
Key Observation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used the following content as the Custom Nginx Configuration for the proxy host gitea.mysite.com on Nginx-Proxy-Manager. This host runs a Docker-based Gitea server with Git LFS enabled:
However, when I try to push a new repository with large files (ranging from 30MB to 92GB, averaging around 10GB, totaling 160GB) to the host, it eventually fails with errors like this:
Observations:
After running the
git push
command from the client, the Nginx-Proxy-Manager server (running in Docker) shows increased CPU and disk usage, suggesting it receives the data.The Gitea server also exhibits similar behavior initially. The Gitea GUI confirms that some segments of the repository are pushed. This indicates that initial content is transferred to the Gitea server via the Nginx-Proxy-Manager.
Despite the initial progress, the push operation eventually fails with the HTTP 413 error mentioned above. No new content appears on the Gitea server after the error occurs.
After removing all previously pushed LFS files from the Gitea server and retrying the git push,
the Nginx-Proxy-Manager server again experiences noticeable CPU and disk usage spikes,
while the Gitea server remains relatively unaffected.
This suggests that the Nginx-Proxy-Manager might be receiving the large files but failing to forward them to the Gitea server.
client_max_body_size
to, for example, 512M leads to a considerable decrease in pushing speed.client_max_body_size
to, for example,10240M
, leads to higher pushing speed. However, it appears that the disk space on the NPM server becomes exhausted, preventing new content from being added to Gitea.tail data/logs/proxy-host-7_error.log
on the NPM server prints:docker logs mysite-gitea -n 10
on the Gitea server prints logs likes below:Any advices?
Beta Was this translation helpful? Give feedback.
All reactions