Linux Magazine #1 2023: Raspberry Pi als Apache reverse proxy
- March 14, 2023
- 0
Listing 1
ServerName reverseproxydemo.linuxmag.nl ServerAdmin webmaster@linuxmag.nl ProxyPass / http://192.168.1.50/ nocanon ProxyPassReverse / http://192.168.1.50/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
Listing 2
ServerName reverseproxydemo.linuxmag.nl ServerAdmin webmaster@linuxmag.nl SSLProxyEngine On ProxyPass / http://192.168.1.50/ nocanon ProxyPassReverse / http://192.168.1.50/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine On SSLCertificateFile /etc/letsencrypt/live/reverseproxydemo.linuxmag.nl/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/reverseproxydemo.linuxmag.nl/privkey.pem
Listing 3
ServerName reverseproxydemo.linuxmag.nl ServerAdmin webmaster@linuxmag.nl SSLProxyEngine On SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName Off ProxyPass / https://192.168.1.50/ nocanon ProxyPassReverse / https://192.168.1.50/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine On SSLCertificateFile /etc/letsencrypt/live/reverseproxydemo.linuxmag.nl/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/reverseproxydemo.linuxmag.nl/privkey.pem