{ "logging" :{ "appenders": { "out" :{ "type": "console" } }, "categories": { "default": { "appenders": [ "out" ], "level": "debug" } } }, "admin" : { "port" : 8088 }, "servers":[{ "port" : 8080, "servername":"test", "paths":[ { "path": "/", "root": "/home/kingecg/code/gohttp/public/", "default": "index.html" }, { "path": "/ws", "upstreams":["http://localhost:3000"], "pathrewrite": { "replace": "/ws", "with": "/" } } ] }] }