I have a spec
app.yml that I use to setup a service and a frontend in the App platform (I trimmed down the yaml file):
- name: frontend
- path: /
- name: backend
- path: /api
When DO re-routes requests to the backend, it strips the prefix
/api such that if the request
service.com/api/user, the service will receive the request
Is it possible to configure the reverse proxy such that the prefix is kept when rerouting the request, such that the service sees a request with the path
Thanks in advance!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.