koa-proxy
koa-proxy copied to clipboard
added preserveHost option
In some situations a proxy needs to preserve the original host. It should be possible to do it via options analogous to this apache proxy directive.
Coverage increased (+0.05%) to 96.825% when pulling 4d099e31c04a9597188f38cbf8bb2c90b3c71be1 on ilyabo:master into 3dc98e4b3d3aecf4ec645fca52c1bbf46e1629a0 on popomore:master.
Coverage increased (+0.05%) to 96.825% when pulling 96041354eabeeaa91efed6a9831ac3da3b5f9e67 on ilyabo:master into 3dc98e4b3d3aecf4ec645fca52c1bbf46e1629a0 on popomore:master.
Coverage increased (+0.05%) to 96.825% when pulling d329327140fc55216c19290aac87c000c4bff037 on ilyabo:master into 3dc98e4b3d3aecf4ec645fca52c1bbf46e1629a0 on popomore:master.
Can you add a testcase and document about these two options?