...
The Apache proxy documentation may be a helpful reference for the discussion in the following sections.
mod_proxy_ajp
TBDQuick demo of using ProxyPass syntax in an Apache VirtualHost.
No Format |
---|
<VirtualHost xxx.xxx.xxx.xxx:443>
# SERVER
ServerAdmin root@localhost
ServerName https://server.host.name
UseCanonicalName On
TraceEnable Off
# SSL
SSLEngine On
SSLProtocol all -SSLv2
SSLCertificateFile /path/to/server.crt
SSLCertificateKeyFile /path/to/server.key
# LOGS rotate logs daily
ErrorLog "|/usr/sbin/rotatelogs /var/log/httpd/servername-error_%Y%m%d.log 86400 -300"
CustomLog "|/usr/sbin/rotatelogs /var/log/httpd/servername-access_%Y%m%d.log 86400 -300" common
# AJP
ProxyPass / ajp://127.0.0.1:8009/
ProxyPassReverse / ajp://127.0.0.1:8009/
</VirtualHost> |
mod_proxy_http
TBD