Answer the question
In order to leave comments, you need to log in
NGINX - how to bind all microservices running on different ports to one domain without subdomains?
RESTFul API consists of microservices. Each microservice is a separate project (Django, DRF). Microservices are running on different ports of the same server: 8000, 8001, 8002...
How to bring all microservices to one domain, where, depending on the URL, the necessary services will be called?
for example:
example.com/api/v1/auth/... - will redirect to 8000
example.com/api/v1/catalog/... - will redirect to 8001
...
I know how to do it on subdomains, but is it possible to do without them?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question