Created
August 25, 2011 14:29
-
-
Save mattias-lidman/1170792 to your computer and use it in GitHub Desktop.
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> | |
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 | |
SetEnvIf User-Agent ".*MSIE.*" \ | |
nokeepalive ssl-unclean-shutdown \ | |
downgrade-1.0 force-response-1.0 | |
ProxyRequests Off | |
<Location /idp/Authn/RemoteUser> | |
AuthType Basic | |
AuthName "Identity Provider Authentication" | |
AuthUserFile /etc/apache2/users | |
require valid-user | |
</Location> | |
<Proxy ajp://localhost:8080> | |
Allow from all | |
</Proxy> | |
ProxyPass /idp ajp://localhost:8080/idp retry=5 | |
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