Created
September 11, 2012 13:24
-
-
Save phlegx/3698439 to your computer and use it in GitHub Desktop.
This file contains 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 *:80> | |
RedirectMatch .* https://jira.example.com | |
ServerName jira.example.com | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName jira.example.com | |
ServerAlias jira.example.com | |
ProxyRequests Off | |
ProxyPreserveHost On | |
ProxyPass / http://localhost:9080/ | |
ProxyPassReverse / http://localhost:9080/ | |
<Location /> | |
Order allow,deny | |
Allow from all | |
</Location> | |
SSLEngine On | |
SSLCertificateFile /etc/apache2/ssl/apache.pem | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment