Fixed an issue with the rules that was preventing health from being
processed correctly.
Change-Id: Ifcef6ec40101ddc303fd4e00f153af2bc7c90600
diff --git a/nginx_config/includes/swagger.conf b/nginx_config/includes/swagger.conf
index 9e1669c..c5ebddc 100644
--- a/nginx_config/includes/swagger.conf
+++ b/nginx_config/includes/swagger.conf
@@ -10,6 +10,12 @@
proxy_next_upstream error timeout invalid_header http_500;
}
+location /health {
+ proxy_pass http://api-swagger/;
+ rewrite /health /health break;
+ proxy_next_upstream error timeout invalid_header http_500;
+}
+
location /swagger {
proxy_pass http://api-swagger/;
rewrite /swagger/(.*) /$1 break;