diff --git a/templates/etc/nginx/router.conf.etlua b/templates/etc/nginx/router.conf.etlua index 061cd135c..4a8436934 100644 --- a/templates/etc/nginx/router.conf.etlua +++ b/templates/etc/nginx/router.conf.etlua @@ -256,6 +256,12 @@ http { real_ip_recursive <%- host["real_ip_recursive"] %>; <% end %> + <% if host["default"] then %> + location = /api-umbrella/v1/direct-router-health { + content_by_lua_file '<%- config["_src_root_dir"] %>/src/api-umbrella/http-api/health.lua'; + } + <% end %> + location / { include ./gatekeeper.conf; }