Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost 1.2.3.4:443>
- ServerName host.example.org
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- SSLProxyEngine On
- ProxyRequests Off
- ProxyPreserveHost On
- ProxyPass / https://localhost:8443/
- ProxyPassReverse / https://localhost:8443/
- </VirtualHost>
- proxy: no HTTP 0.9 request (with no host line) on incoming request and preserve host set forcing hostname to be host.example.org for uri
- "?O^A^C / HTTP/1.1" 302
- "GET / HTTP/1.1" 302
- <VirtualHost 1.2.3.4:443>
- ServerName host.domain.org
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- SSLEngine on
- SSLProxyEngine On
- SSLCertificateFile /etc/apache2/ssl/certificate.crt
- SSLCertificateKeyFile /etc/apache2/ssl/certificate.key
- ProxyRequests Off
- ProxyPreserveHost On
- ProxyPass / https://localhost:8443/
- ProxyPassReverse / https://localhost:8443/
- </VirtualHost>
- <VirtualHost 1.2.3.4:443>
- ServerName host.domain.org
- SSLEngine On
- # include other ssl options, like cert and key here
- ProxyRequests Off
- ProxyPreserveHost On
- <Location />
- ProxyPass http://localhost:8443/
- </Location>
- </VirtualHost>
- ProxyRequests Off
- <Proxy balancer://someapplication>
- BalancerMember http://127.0.0.1:18443 keepalive=on max=2 retry=30
- BalancerMember http://127.0.0.1:18444 keepalive=on max=2 retry=30
- BalancerMember http://127.0.0.1:18445 keepalive=on max=2 retry=30
- </Proxy>
- <VirtualHost 1.2.3.4:443>
- SSLEngine on
- SSLCipherSuite SSLv2:-LOW:-EXPORT:RC4+RSA
- SSLCertificateFile /path/to/cert.pem
- SSLCertificateKeyFile //path/to/key.pem
- SSLVerifyClient optional
- RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
- RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
- <Location />
- SetHandler balancer-manager
- Order allow,deny
- Allow from all
- </Location>
- ProxyPass / balancer://someapplication:443/
- ProxyPassReverse / balancer://someapplication:443/
- ProxyPreserveHost on
- ProxyPass / http://localhost:8080/
- ProxyPassReverse / http://localhost:8080/
Add Comment
Please, Sign In to add comment