Transparent redirect to port 8080

后端 未结 2 1565
灰色年华
灰色年华 2020-12-18 10:56

I have a few web applications available on my server on port 8080.

As some of my users can\'t reach port 8080 due to their firewall, I\'d like to set a redirection o

2条回答
  •  眼角桃花
    2020-12-18 11:38

    Doing what you did will only send a redirect to port 8080 to the user (which they can't use). You need to use apache mod_proxy or a different proxy server.

    ProxyPass /foo http://foo.example.com/bar
    ProxyPassReverse /foo http://foo.example.com/bar
    

提交回复
热议问题