Fix location to proxy APIs
Change-Id: I1c0b500202b697d129791f6ed4e66d0f93c0fa7e
diff --git a/devops_portal/files/nginx.conf b/devops_portal/files/nginx.conf
index 5325475..fc3bcfe 100644
--- a/devops_portal/files/nginx.conf
+++ b/devops_portal/files/nginx.conf
@@ -47,7 +47,7 @@
{%- set service = config.service[service_name] %}
{%- if service.enabled|default(True) and service.configure_proxy|default(False) %}
- location /api/{{ service_name }} {
+ location /api/{{ service_name }}/ {
proxy_pass {{ service_url(service.endpoint) }};
}
{%- endif %}