Compdigitec Labs

« | Home | »

Reverse proxy HTTPS with Apache

By admin | August 23, 2013

The procedure is mostly similar to the procedure with regular HTTP, but there are a few gimmicks involved here:

  1. Generate a self-signed one or purchase a SSL certificate (*.crt) for the server in question.
  2. Make sure you run ‘sudo a2enmod ssl‘ to enable SSL.
  3. Make sure you have enable the proxy module with ‘sudo a2enmod proxy‘ as well.

Below is a sample reverse HTTPS proxy configuration.

<VirtualHost *:443>
    <Proxy *>
     Order Deny,Allow
     Allow from all
    </Proxy>

 SSLEngine On
 SSLProxyEngine On
 SSLCertificateFile /etc/apache2/cert/server.crt <!-- path to your certifcate and key -->
 SSLCertificateKeyFile /etc/apache2/cert/server.key
 SSLProxyCheckPeerCN off
 SSLProxyCheckPeerExpire off
 SSLProxyCheckPeerName off

 ProxyRequests Off
 ProxyPass / https://192.168.42.3/
 ProxyPassReverse / https://192.168.42.3/
 ProxyPreserveHost On
</VirtualHost>

Replace 192.168.42.3 with the internal IP address of your server, as before (keep the http(s):// portion).

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 809 Comments »

809 Responses to “Reverse proxy HTTPS with Apache”

  1. iqos terea Says:
    January 12th, 2026 at 05:17

    ทักทายครับ ชอบบทความนี้จัง อ่านแล้วได้ความรู้เรื่อง iqos เพิ่มขึ้นเยอะเลย เป็นกำลังใจให้นะครับ

    Here is my web site :: iqos terea

  2. iqos terea Says:
    January 12th, 2026 at 05:37

    สวัสดีจ้า เนื้อหาแน่นปึ้ก กำลังหาข้อมูลเกี่ยวกับ iqos อยู่พอดี จะรอติดตามบทความต่อไปนะครับ

    Heree is my web-site iqos terea

  3. iqos iluma Says:
    January 12th, 2026 at 05:59

    สวัสดีจ้า เนื้อหาแน่นปึ้ก ช่วยให้เข้าใจเรื่อง iqos มากขึ้น ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ

    Here is my web blog :: iqos iluma

  4. iqos thailand Says:
    January 12th, 2026 at 06:22

    สวัสดีครับ เนื้อหาแน่นปึ้ก กำลังหาข้อมูลเกี่ยวกับ qos อยู่พอดี ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ

    Review my webpage :: iqos thailand

  5. iqos bangkok Says:
    January 12th, 2026 at 08:26

    สวัสดีครับ เนื้อหาแน่นปึ้ก ใครที่สนใจ iqos ต้องมาอ่านตรงนี้เลย ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ

    Also visit my web page iqos bangkok

  6. iqos terea Says:
    January 12th, 2026 at 08:34

    ทักทายครับ ชอบบทความนี้จัง อ่านแล้วได้ความรู้เรื่อง iqos เพิ่มขึ้นเยอะเลย ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ

    Also visit my blog :: iqos terea

  7. iqos bangkok Says:
    January 12th, 2026 at 08:34

    สวัสดีครับ เขียนได้ดีมากเลยครับ ใครที่สนใจ
    iqos ต้องมาอ่านตรงนี้เลย
    เป็นกำลังใจให้นะครับ

    My page; iqos bangkok

  8. discuss Says:
    January 12th, 2026 at 08:36

    สวัสดีจ้า ชอบบทความนี้จัง อ่านแล้วได้ความรู้เรื่อง
    iqos เพิ่มขึ้นเยอะเลย เป็นกำลังใจให้นะครับ

    Feeel free to visi myy site; discuss

  9. iqos Says:
    January 12th, 2026 at 08:59

    สวัสดีจ้า เขียนได้ดีมากเลยครับ ช่วยให้เข้าใจเรื่อง iqos มากขึ้น เป็นกำลังใจให้นะครับ

Comments