0
votes

I have an Apache web server running with both HTTP and HTTPS connections. I would like to disable the direct HTTPS connection and configure a local proxy server that will receive the HTTPS connection from the client and will communicate with the web server on port 80 ONLY.

4
  • 1
    Why don't you simply configure SSL in the same site so it works both with and without HTTPS?
    – Havenard
    Nov 26, 2013 at 17:41
  • What exactly are you trying to accomplish with that configuration?
    – squillman
    Nov 26, 2013 at 18:03
  • What proxy do you want to use? Why do you want to use it? The Apache stuff seems easy. Just disable the https virtual host, and stop Apache from listening on port 443. After that just do the needful.
    – Zoredache
    Nov 26, 2013 at 18:08
  • I want to simulate LB SSL termination. I don't want the HTTPS connection to go all the way from the client to the web server. I want the client to communicate with the Proxy on port 443 and I want the proxy to switch the 443 connection to port HTTP. I'm using only one web server...
    – edotan
    Nov 26, 2013 at 19:48

2 Answers 2

1
vote

Pound is one of the most popular reverse proxy, load balancer and HTTPS front-end for Web server(s).

0
0
votes

I think what you need is something like nginx or haproxy in front of your web server. Both can be configured to accept HTTP or HTTPS connections and communicate to the backend server only through HTTP.

Not the answer you're looking for? Browse other questions tagged .