jkyberneees / fastify-gateway

A Node.js API gateway that just works!
https://www.npmjs.com/package/k-fastify-gateway
MIT License
107 stars 14 forks source link

Proxying requests to a domain with a subdirectory #27

Closed parthibd closed 5 years ago

parthibd commented 5 years ago

When I proxy requests to a domain eg: http://localhost/mydir it returns a 404. Is there anything I'm doing wrong? In this case my prefix is myproxy.

jkyberneees commented 5 years ago

Hi @parthibd, please consider that /mydir is not part of your domain, it is actually part of your prefix. Can you try again considering that hint.

Regards