ServerName my.server #DocumentRoot /opt/jenkins # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on # Server Certificate: # Point SSLCertificateFile at a PEM encoded certificate. If # the certificate is encrypted, then you will be prompted for a # pass phrase. Note that a kill -HUP will prompt again. A new # certificate can be generated using the genkey(1) command. SSLCertificateFile /etc/pki/tls/certs/localhost.crt # Server Private Key: # If the key is not combined with the certificate, use this # directive to point at the key file. Keep in mind that if # you've both a RSA and a DSA private key you can configure # both in parallel (to also allow the use of DSA ciphers, etc.) SSLCertificateKeyFile /etc/pki/tls/private/localhost.key ProxyPreserveHost On ProxyRequests Off ProxyPass /jenkins http://localhost:9080/jenkins/ retry=0 ProxyPassReverse /jenkins http://localhost:9080/jenkins/ retry=0 ErrorLog /var/log/httpd/jenkins-error_log CustomLog /var/log/httpd/jenkins-access_log common