GNU/Linux >> Linux Esercitazione >  >> Linux

Utilizzo di HTTPS come backend proxy in Apache 2.4

Introduzione:
In Apache 2.4 in un Vhost per poter eseguire il proxy a un backend con HTTPS utilizzando un certificato autofirmato o scaduto sul backend, dobbiamo includere le seguenti direttive:
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

Devi anche abilitare i moduli Apache2 richiesti come segue:
a2enmod proxy
a2enmod proxy_http
a2enmod proxy_connect
service apache2 restart

Esempio di utilizzo di Apache 2.4 per inviare un proxy alla porta Webmin 10000:
RewriteEngine On
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
RewriteRule ^/(.*) https://127.0.0.1:10000/$1 [P]
ProxyPassReverse / https://127.0.0.1:10000


Linux
  1. Configura Apache Traffic Server come proxy inverso su Linux

  2. Come installare phpMyAdmin in Linux usando il codice sorgente

  3. Come forzare Apache a usare HTTPS

  4. Come utilizzare il metodo CONNECT su un proxy HTTP utilizzando Telnet?

  5. Centos – Installa Apache 2.4 su Centos usando Yum?

Come bloccare XML-RPC in WordPress usando Nginx/Apache

Come scaricare file utilizzando Wget tramite proxy in Linux

Come configurare Apache come proxy frontend per Node.js

Come aggiornare Apache utilizzando EasyApache?

Come reindirizzare da http a https usando .htaccess?

Effettua una richiesta https utilizzando i socket su Linux