Rename control into config
Change-Id: I13ef171b9294d607e590db6b8d96019477e72c71
diff --git a/devops_portal/files/nginx.conf b/devops_portal/files/nginx.conf
index bb7878a..ca27f0d 100644
--- a/devops_portal/files/nginx.conf
+++ b/devops_portal/files/nginx.conf
@@ -1,4 +1,4 @@
-{%- from "devops_portal/map.jinja" import control with context -%}
+{%- from "devops_portal/map.jinja" import config with context -%}
{%- from "devops_portal/map.jinja" import services with context -%}
daemon off;
@@ -42,8 +42,8 @@
}
{%- for service_name in services %}
-{%- if control.services[service_name] is defined %}
-{%- set service = control.services[service_name] %}
+{%- if config.services[service_name] is defined %}
+{%- set service = config.services[service_name] %}
{%- if service.enabled|default(False) and service.configure_proxy|default(False) %}
location /api/{{ service_name }} {