Skip to content

Commit ac11a36

Browse files
fix(gitea): slow browsing on http2.
Some request had a waiting time of tens of seconds. An issue is currently open: go-gitea/gitea#19265
1 parent d61b4b4 commit ac11a36

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

roles/gitea/templates/etc_apache2_sites-available_gitea.conf.j2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ MDomain {{ gitea_fqdn }}
1515

1616
<VirtualHost *:443>
1717
ServerName {{ gitea_fqdn }}
18+
19+
# This is a hack.
20+
# There is a "Slow browsing on http2 enabled reverse proxy, long-polling /user/events blocks other requests"
21+
# issue with Gitea.
22+
# See https://github.com/go-gitea/gitea/issues/19265
23+
Protocols http/1.1
24+
1825
ServerAdmin webmaster@{{ gitea_fqdn }}
1926
SSLEngine on
2027
{% if gitea_https_mode == 'selfsigned' %}

0 commit comments

Comments
 (0)