[fix] correct jinja template syntax

This commit is contained in:
William Wernert
2020-07-08 14:30:27 -04:00
parent cfd1b82e00
commit 0c3e35c55e

View File

@@ -59,7 +59,7 @@ http {
}
{%- endif %}
{&- if role in ['eval', 'mastersearch', 'master', 'standalone'] &}
{%- if role in ['eval', 'mastersearch', 'master', 'standalone'] %}
server {
listen 80 default_server;
server_name _;
@@ -214,7 +214,6 @@ http {
return 301 https://{{ fleet_ip }}/fleet;
}
{%- else %}
location /fleet/ {
proxy_pass https://{{ masterip }}:8080;
proxy_read_timeout 90;