diff --git a/etc/jenkins.conf b/etc/jenkins.conf index 38d719cd..957dff5e 100644 --- a/etc/jenkins.conf +++ b/etc/jenkins.conf @@ -1,6 +1,9 @@ BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On + #SSL# Header edit Location ^http https + #SSL# RequestHeader set X_FORWARDED_PROTO 'https' + ProxyPass http://127.0.0.1:8080/jenkins ProxyPassReverse http://127.0.0.1:8080/jenkins diff --git a/etc/redmine-ssl.conf b/etc/redmine-ssl.conf index 4617e92e..53162ad7 100644 --- a/etc/redmine-ssl.conf +++ b/etc/redmine-ssl.conf @@ -3,9 +3,6 @@ ServerName #HOSTNAME# ServerAlias localhost DocumentRoot #DOCUMENTROOT# -Header edit Location ^http https -RequestHeader set X_FORWARDED_PROTO 'https' - ExpiresActive On ExpiresByType application/x-javascript A259200 ExpiresByType application/javascript A259200