Skip to content

Commit 4ad659a

Browse files
clwluvwalessfg
authored andcommitted
Fixed bug on tcp_nopush and tcp_nodelay for nginx.conf.j2 (#198)
1 parent 31beec2 commit 4ad659a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/nginx.conf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ http {
7272

7373
sendfile on;
7474

75-
{% if nginx_main_template.http_settings.tcp_nopush is defined and nginx_main_template.tcp_nopush %}
75+
{% if nginx_main_template.http_settings.tcp_nopush is defined and nginx_main_template.http_settings.tcp_nopush %}
7676
tcp_nopush on;
7777
{% endif %}
78-
{% if nginx_main_template.http_settings.tcp_nodelay is defined and nginx_main_template.tcp_nodelay %}
78+
{% if nginx_main_template.http_settings.tcp_nodelay is defined and nginx_main_template.http_settings.tcp_nodelay %}
7979
tcp_nodelay on;
8080
{% endif %}
8181

0 commit comments

Comments
 (0)