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
|
{% if gitea_ssl_enabled is defined and
|
||||||
gitea_ssl_enabled %}
|
gitea_ssl_enabled %}
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl http2;
|
||||||
{% if ansible_all_ipv6_addresses | length %}
|
{% if ansible_all_ipv6_addresses | length %}
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl http2;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
server_name {{ gitea_domain }};
|
server_name {{ gitea_domain }};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user