gitea: enable HTTP/2 in nginx
This commit is contained in:
parent
aac3f53d95
commit
2fdf1d7a25
@ -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 }};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user