You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a top-level domain that fronts several services. For example:
api.example.com/a/billing/* will route to billing.example.internal/*
api.example.com/a/users/* will route to users.example.internal/*
Currently, the rewrite above is handled by Cloudflare. I'd like to emulate this setup in Hotel so that my local environment is similar to production. Is there somewhere in Hotel where I can perform the rewrite? My other option is to stand up a standalone rewriting proxy that sits on api.example.localhost and routes it to the other hosts.
The text was updated successfully, but these errors were encountered:
@GabrieleDS I ended up writing a proxy with node-http-proxy and running it with hotel alongside the other apps. The proxy itself looks something like this:
I have a top-level domain that fronts several services. For example:
Currently, the rewrite above is handled by Cloudflare. I'd like to emulate this setup in Hotel so that my local environment is similar to production. Is there somewhere in Hotel where I can perform the rewrite? My other option is to stand up a standalone rewriting proxy that sits on api.example.localhost and routes it to the other hosts.
The text was updated successfully, but these errors were encountered: