J
J
Jordan_Belforts2020-05-12 16:09:56
Nginx
Jordan_Belforts, 2020-05-12 16:09:56

Redirect nginx traffic to localhost:port?

Good day to all!
Tell me, please, this question:
I am writing a bot in python and there was a problem with a bunch of nginx and flack rest api
Since I had no experience with nginx, I don’t quite understand the redirect.
I ask you to at least briefly explain on the fingers the logic of how this happens and in which file it is configured.
If there is a good article describing the logic of work, I will be very grateful)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2020-05-12
@Jordan_Belforts

https://realpython.com/kickstarting-flask-on-ubunt...

P
paran0id, 2020-05-12
@paran0id

nginx has great documentation.
https://nginx.org/ru/docs/http/request_processing.html
https://nginx.org/ru/docs/http/ngx_http_proxy_modu...

V
Vadim Shatalov, 2020-05-12
@netpastor

https://lmgtfy.com/?q=nginx+%D0%B8+flack

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question