Fixed bug on tcp_nopush and tcp_nodelay for nginx.conf.j2 (#198)

This commit is contained in:
Seena Fallah 2019-11-26 17:00:05 +03:30 committed by Alessandro Fael Garcia
parent 31beec2e7b
commit 4ad659a784

View File

@ -72,10 +72,10 @@ http {
sendfile on; 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; tcp_nopush on;
{% endif %} {% 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; tcp_nodelay on;
{% endif %} {% endif %}