Skip to content

Commit

Permalink
change enabled to enable
Browse files Browse the repository at this point in the history
  • Loading branch information
tugytur committed Aug 16, 2023
1 parent 11b838a commit 75337ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/http/modules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ sub_filter_types {{ sub_filter['types'] if sub_filter['types'] is string else su
{# NGINX HTTP v2 -- ngx_http_v2_module #}
{% macro http2(http2, scope='http') %}
{% if scope != 'location' %}{# The following scoped directives are not available in the 'location' context #}
{% if http2['enabled'] is defined and http2['enabled'] is boolean %}
http2 {{ http2['enabled'] | ternary('on', 'off') }};
{% if http2['enable'] is defined and http2['enable'] is boolean %}
http2 {{ http2['enable'] | ternary('on', 'off') }};
{% endif %}
{% if http2['body_preread_size'] is defined %}
http2_body_preread_size {{ http2['body_preread_size'] }};
Expand Down

0 comments on commit 75337ad

Please sign in to comment.