mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-04-24 23:05:53 +03:00
[GH-ISSUE #43] Gitea-mirror behind proxy requires http/2 support #19
Labels
No labels
bug
documentation
enhancement
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gitea-mirror#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MadsBen on GitHub (Jul 15, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/43
Originally assigned to: @arunavo4 on GitHub.
This is not a bug, so this is just for information.
When using a reverse proxy like nginx proxy manager, remember to enable http/2 support on the configured proxy host, in SSL settings.
If not, the gitea-mirror website will not load properly (specifically the MainLayout.*.js file).
@arunavo4 commented on GitHub (Jul 16, 2025):
Hey @MadsBen, thanks for reporting this!
I've investigated the codebase and confirmed that Gitea Mirror doesn't actually require HTTP/2 - it works perfectly fine with HTTP/1.1. The issue you
experienced with MainLayout.*.js not loading is likely related to how nginx proxy manager handles HTTP/1.1 connections (possibly buffering, chunking, or
timeout settings).
Enabling HTTP/2 resolves it because of better connection handling and multiplexing that HTTP/2 provides, which seems to work around whatever issue the proxy
was having with HTTP/1.1.
I've added a troubleshooting section to our README to the
v3branch to help future users who might encounter this. Thanks for sharing the solution - it will definitely helpothers!
For reference, the application:
Your workaround of enabling HTTP/2 is a great solution, and I'd recommend it for performance benefits anyway. Thanks again for the helpful feedback!