[FIX] fix bug: gateway-controller failed: reason withheld

This commit is contained in:
GLYASAI 2018-12-06 10:31:24 +08:00
parent 843471f8f7
commit 2b4e8951c5

View File

@ -107,7 +107,7 @@ http {
}
server {
listen 127.0.0.1:{{$h.StatusPort}};
listen 127.0.0.1:{{$h.StatusPort}};
location /healthz {
access_log off;
@ -118,7 +118,7 @@ http {
access_log off;
content_by_lua_block {
local configuration = require("configuration")
local configuration = require("config")
local backend_data = configuration.get_backends_data()
if not backend_data then
ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR)