Tornado as a reverse proxy?

367 visualizações
Pular para a primeira mensagem não lida

Wilber H

não lida,
3 de fev. de 2021, 13:38:1203/02/2021
para Tornado Web Server
Hi,

Can Tornado's webserver be configured as a reverse proxy?

Rajdeep Rath

não lida,
3 de fev. de 2021, 14:22:0603/02/2021
para python-...@googlegroups.com
You want to send request to another server from tornado?

On Thu, 4 Feb, 2021, 12:08 am Wilber H, <wilbe...@gmail.com> wrote:
Hi,

Can Tornado's webserver be configured as a reverse proxy?

--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornad...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python-tornado/9b4d9752-afe1-428f-969d-a92d7c84ce02n%40googlegroups.com.

Wilber H

não lida,
3 de fev. de 2021, 14:53:3603/02/2021
para Tornado Web Server
No; I want to send request to the application.

Rajdeep Rath

não lida,
3 de fev. de 2021, 14:57:3603/02/2021
para python-...@googlegroups.com

Wilber H

não lida,
3 de fev. de 2021, 15:07:1603/02/2021
para Tornado Web Server
Thanks but that example uses nginx as the reverse proxy, to send request to Tornado.  
Since Tornado has a webserver, I was wondering if it can be configured as a reverse proxy.  But looks like is not possible; can't find this capability in their docs.

Ben Darnell

não lida,
3 de fev. de 2021, 20:54:2603/02/2021
para Tornado Mailing List
On Wed, Feb 3, 2021 at 3:07 PM Wilber H <wilbe...@gmail.com> wrote:
Thanks but that example uses nginx as the reverse proxy, to send request to Tornado.  
Since Tornado has a webserver, I was wondering if it can be configured as a reverse proxy.  But looks like is not possible; can't find this capability in their docs.


You could *build* a reverse proxy using Tornado. But there's not any built-in proxy functionality that you can simply configure and use. 

To build a proxy I'd recommend programming directly to the HTTP*Delegate interfaces and not using the tornado.web module. I vaguely recall that there are things about the tornado.web module that make it unsuitable for *forward* proxies. It might still work for reverse proxies, but you'll probably get better results with the lower-level interfaces.

-Ben
 
On Wednesday, February 3, 2021 at 2:57:36 PM UTC-5 rajde...@gmail.com wrote:

Is this what you are looking for ?




On Thu, 4 Feb 2021 at 1:23 AM, Wilber H <wilbe...@gmail.com> wrote:
No; I want to send request to the application.

On Wednesday, February 3, 2021 at 2:22:06 PM UTC-5 rajde...@gmail.com wrote:
You want to send request to another server from tornado?

On Thu, 4 Feb, 2021, 12:08 am Wilber H, <wilbe...@gmail.com> wrote:
Hi,

Can Tornado's webserver be configured as a reverse proxy?

--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornad...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python-tornado/9b4d9752-afe1-428f-969d-a92d7c84ce02n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornad...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornad...@googlegroups.com.

Wilber H

não lida,
3 de fev. de 2021, 21:09:1403/02/2021
para Tornado Web Server
Thanks Ben
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem