R
R
Reality2018-07-08 17:21:57
Nginx
Reality, 2018-07-08 17:21:57

How to remove port from VPS link?

Please tell me which technology to study. The bottom line is that a lightweight Python server is running on the VPS on port 8080. At the moment, in order to access the content, you need to open the following link in the browser:
http://domain:8080/index.html.
How would I make it so that the port is not displayed and there would be a link like this:
http://domain/python/index.html?
I suspect that you need to move along the path to nginx and Apache.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Zakharov, 2018-07-08
Tester @Aoom

Either run the application itself on port 80, or use apache / nginx and proxy traffic from 80 to 8080
nginx proxy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question