I need to add hooks before the framework running to modify koa’s app object .
when you use x-forwarded-host is real host , you need enable proxy and set ctx.app.proxy = true in koa object.
x-forwarded-host
ctx.app.proxy = true