Fixed bug on tcp_nopush and tcp_nodelay for nginx.conf.j2 (#198)
This commit is contained in:
parent
31beec2e7b
commit
4ad659a784
@ -72,10 +72,10 @@ http {
|
||||
|
||||
sendfile on;
|
||||
|
||||
{% if nginx_main_template.http_settings.tcp_nopush is defined and nginx_main_template.tcp_nopush %}
|
||||
{% if nginx_main_template.http_settings.tcp_nopush is defined and nginx_main_template.http_settings.tcp_nopush %}
|
||||
tcp_nopush on;
|
||||
{% endif %}
|
||||
{% if nginx_main_template.http_settings.tcp_nodelay is defined and nginx_main_template.tcp_nodelay %}
|
||||
{% if nginx_main_template.http_settings.tcp_nodelay is defined and nginx_main_template.http_settings.tcp_nodelay %}
|
||||
tcp_nodelay on;
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user