diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index c6ea5777..7340eb72 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -75,6 +75,10 @@ location /skynet/stats { location /nginx/stats { include /etc/nginx/conf.d/include/cors; + charset utf-8; + charset_types application/json; + default_type application/json; + content_by_lua_block { local json = require('cjson') ngx.say(json.encode{