Skip to content

Commit

Permalink
Update HTTP2 syntax
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
bviktor committed Nov 8, 2024
1 parent ee29b2a commit b43a479
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions templates/host.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
server
{
{% if not eff_ssl_disabled | bool %}
listen {{ eff_host_port }} ssl http2;
listen [::]:{{ eff_host_port }} ssl http2;
listen {{ eff_host_port }} ssl;
listen [::]:{{ eff_host_port }} ssl;
http2 on;
include ssl.conf;
ssl_certificate {{ eff_ssl_cert }};
ssl_certificate_key {{ eff_ssl_key }};
Expand Down Expand Up @@ -33,8 +34,9 @@ upstream appserver
server
{
{% if not eff_ssl_disabled | bool %}
listen {{ eff_host_port }} ssl http2;
listen [::]:{{ eff_host_port }} ssl http2;
listen {{ eff_host_port }} ssl;
listen [::]:{{ eff_host_port }} ssl;
http2 on;
include ssl.conf;
ssl_certificate {{ eff_ssl_cert }};
ssl_certificate_key {{ eff_ssl_key }};
Expand Down

0 comments on commit b43a479

Please sign in to comment.