T
T
tem12qaz2021-02-05 02:31:19
Nginx
tem12qaz, 2021-02-05 02:31:19

Is it possible to use two servers on the same IP?

There are two servers.
The first Aiohttp - it runs a telegram bot with webhooks.
The second Flask - it runs the admin panel of this telegram bot.
Is it possible to use these two servers on the same domain?
For example Aiohttp serves only "host.ru/telegram_bot" and Flask only "host.ru/admin"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2021-02-05
@q2digger

a reverse proxy is installed and configured, for example Nginx , it processes incoming requests and throws them at different locations

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question