diff --git a/roles/gitea/templates/nginx.conf.j2 b/roles/gitea/templates/nginx.conf.j2 index 867bd4c..e6fcd2b 100644 --- a/roles/gitea/templates/nginx.conf.j2 +++ b/roles/gitea/templates/nginx.conf.j2 @@ -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 }};