c543f6a809
Change-Id: Idd43b8e4b3dbe2a3781669f51943efa041b7b863
48 lines
1.6 KiB
ApacheConf
48 lines
1.6 KiB
ApacheConf
<VirtualHost _default_:80>
|
|
ServerAdmin webmaster@openstack.org
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/jenkins-error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/jenkins-access.log combined
|
|
|
|
Redirect / https://jenkins.openstack.org/
|
|
|
|
</VirtualHost>
|
|
|
|
<VirtualHost _default_:443>
|
|
ServerAdmin webmaster@openstack.org
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/jenkins-ssl-error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/jenkins-ssl-access.log combined
|
|
|
|
# SSL Engine Switch:
|
|
# Enable/Disable SSL for this virtual host.
|
|
SSLEngine on
|
|
|
|
SSLCertificateFile /etc/ssl/certs/jenkins.openstack.org.pem
|
|
SSLCertificateKeyFile /etc/ssl/private/jenkins.openstack.org.key
|
|
SSLCertificateChainFile /etc/ssl/certs/intermediate.pem
|
|
|
|
BrowserMatch "MSIE [2-6]" \
|
|
nokeepalive ssl-unclean-shutdown \
|
|
downgrade-1.0 force-response-1.0
|
|
# MSIE 7 and newer should be able to use keepalive
|
|
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
|
|
|
|
RewriteEngine on
|
|
RewriteCond %{HTTP_HOST} !jenkins.openstack.org
|
|
RewriteRule ^.*$ https://jenkins.openstack.org/
|
|
|
|
ProxyPass / http://127.0.0.1:8080/ retry=0
|
|
ProxyPassReverse / http://127.0.0.1:8080/
|
|
</VirtualHost>
|