Search code examples
apachehttphttpswebservergateway

How to put up an off-the-shelf https to http gateway?


I have an HTTP server which is in our internal network and accessible only from inside it. I would like to put another server that would listen to an HTTPS port accessible from outside, and forward the requests to that HTTP server (and send back the responses via HTTPS). I know that there are several ways to do this with some programming involved (and I myself made a temporary solution with Tomcat and a very simple servlet I wrote), but is there a way to do the same just plugging parts already made (like Apache + modules)?


Solution

  • With Apache look into mod_proxy.

    Apache 2.2 mod_proxy docs

    Apache 2.0 mod_proxy docs