Is it possible to forward NON-http connecting request to some other port in nginx?

前端 未结 3 955
春和景丽
春和景丽 2020-12-23 12:17

I have nginx running on my server, listening port 80 and 433. I know nginx has a number ways of port forwarding that allows me to forward request like: http://myserver:80/su

3条回答
  •  失恋的感觉
    2020-12-23 12:51

    if nginx remote proxying with HTTP, your client could use the HTTP CONNECT command, then it connects with the remote port and forwards all data as "raw" (or at least I think so).

提交回复
热议问题