mixailkornia2022-03-26 12:21:51
mixailkornia, 2022-03-26 12:21:51

2 or more SITEs to 1 IP?

There are 2 pethon flaska projects.
each project runs on a local IP
Both projects have the same IP address Accessible from the external internet.
Access is available only on port 80. for site.com/ The
question is how OR what software to tell.
That when opening
site.com redirect locally to
site1.com redirect locally to

OR maybe there are other methods to run multiple applications available from outside.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Dr. Bacon, 2022-03-26

install nginx and proxy outside through proxy_pass

Drno, 2022-03-26

nginx proxy Do

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question