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 | 106 Comments »

106 Responses to “Reverse proxy HTTPS with Apache”

  1. รับติดตั้ง Digital Door Lock Says:
    August 12th, 2026 at 19:48

    บทความช่วยแยกประเด็นที่ควรตรวจสอบได้ชัดเจนครับ
    อ่านแล้วรู้ว่าต้องถามช่างเรื่องอะไรบ้าง

    Review my webpage: รับติดตั้ง Digital Door Lock

  2. ทีมงาน U Smart Lock Says:
    August 12th, 2026 at 20:05

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

    Here iss my website; ทีมงาน U Smart Lock

  3. กลอนดิจิทัล Says:
    August 12th, 2026 at 20:08

    ก่อนหน้านี้เข้าใจว่าเลือกรุ่นไหนก็ใช้งานคล้ายกัน แต่จริงๆ มีรายละเอียดต่างกันพอสมควรเลยครับ

    Also visit my blog powt … กลอนดิจิทัล

  4. กลอนประตูดิจิทัลพร้อมบริการติดตั้ง Says:
    August 12th, 2026 at 20:09

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

    Also visit my web-site; กลอนประตูดิจิทัลพร้อมบริการติดตั้ง

  5. รับติดตั้งกลอนประตูดิจิทัล Says:
    August 12th, 2026 at 20:41

    ส่วนตัวคิดว่าความปลอดภัยกับความสะดวกควรพิจารณาควบคู่กันไปครับ

    Also visit my web site – รับติดตั้งกลอนประตูดิจิทัล

  6. https://1xbetyukleapk.com Says:
    August 18th, 2026 at 23:45

    Bu sayt vasitəsilə orijinal proqramı tapdım.

    https://1xbetyukleapk.com

Comments