January 18, 2013

 

teamcity migration details

On a way of migration of teamcity installation from one server and configuration to another I've bumped into https->http redirection in case of apache reverse-proxy setting under ssl.conf. Teamcity really has this bug not fixed yet (now v.7, bug reported for 5). Summary of places to edit in migration: 1. build-data-dir/config/main-config.xml (rootURL attr) 2. config/server.xml (add to connector:
proxyName="xxxxxx.com"
proxyPort="443"
scheme="https"
secure="true"
Httpd config is of no interest, just as manual says:
<VirtualHost [...]>
LoadModule proxy_module bin/mod_proxy.so
LoadModule proxy_http_module bin/mod_proxy_http.so

ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8111/
ProxyPassReverse / http://127.0.0.1:8111/

Labels: , , , , , , ,

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?