gitea: enable HTTP/2 in nginx

This commit is contained in:
Ryan Cavicchioni 2022-08-30 07:13:41 -05:00
parent aac3f53d95
commit 2fdf1d7a25
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -37,9 +37,9 @@ server {
{% if gitea_ssl_enabled is defined and
gitea_ssl_enabled %}
server {
listen 443 ssl;
listen 443 ssl http2;
{% if ansible_all_ipv6_addresses | length %}
listen [::]:443 ssl;
listen [::]:443 ssl http2;
{% endif %}
server_name {{ gitea_domain }};