Created
August 25, 2011 13:41
-
-
Save mattias-lidman/1170685 to your computer and use it in GitHub Desktop.
client.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:443 *:4569> | |
| AddOutputFilterByType DEFLATE text/html text/plain text/xml application/javascript text/css | |
| SSLEngine On | |
| SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXP | |
| SSLProtocol all -SSLv2 | |
| SSLCertificateFile /vagrant/cert-file.crt | |
| SSLCertificateKeyFile /vagrant/server.key | |
| SSLOptions +StdEnvVars | |
| #allow reverse proxy | |
| ProxyRequests Off | |
| <Proxy *> | |
| Order Deny,Allow | |
| Allow from all | |
| </Proxy> | |
| ProxyPreserveHost On | |
| ProxyPass / http://localhost:8080/ | |
| ProxyPassReverse / http://localhost:8080/ | |
| ServerName java_app.smackaho.st | |
| ServerAlias alias_java_app.smackaho.st | |
| ErrorLog /var/log/apache2/java_app.smackaho.st-error.log | |
| CustomLog /var/log/apache2/java_app.smackaho.st-access.log combined | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment