This forum is in read-only mode now. Frontity Framework is not under active development anymore.
The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
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