Friday, 30 April 2010

CruiseControl, ProxyPass

Dear blog, today I submitted a patch for CruiseControl. It feels great to give something back (even if it's half-baked).

I couldn't find a way to make CC give the correct URL to users when running in a configuration like below:

ProxyVia On
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/

CC would insist on building URLs using localhost:8080 even though the user can only access via With the patch CruiseControl will use the X-Forwarded-Host HTTP header to build the correct address.

No comments: