V
V
Vladimir Korotenko2022-02-20 17:08:35
Android
Vladimir Korotenko, 2022-02-20 17:08:35

Local reverse proxy for development?

In general, I took care of testing my zoo.

https://localhost:44456 - identity server
https://localhost:44457 - spa application
https://localhost:44458 - api

I would like to wrap it all in the following way
https://auth.example.com - identity server
https ://example.com - spa application
https://example.com/api - api

as an option https://github.com/hiproxy/hiproxy
and possibly nginx

Who has worked with such configurations, what would you advise? Especially in the convenience of debugging, running 3 applications in the console is somehow dreary.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Golubkov, 2022-02-22
@Android97

You can wrap it all in docker-compose, add nginx there. As a result, everything will be launched by one command, there you can still set up environment variables and add, for example, a test database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question