How do I get the nimble:restivus package route to api.example.com instead of the domain the code is hosted on (www.example.com).
Do you need it to be exclusive? … meaning you want www endpoints available on www only, and api endpoints available on api only? I don’t believe this is possible.
If you want all endpoints to be available on api and www then you could simply run your meteor app through nginx reverse proxy (lots of docs online) and have the two subdomains as virtual hosts.
1 Like