H. Wade Minter
2008-Jan-16 02:08 UTC
[Cruisecontrolrb-users] CruiseControl.rb URL problems with Nginx
I have a CruiseControl.rb (version 1.2.1) instance running on a system behind a NAT system. I''m noticing something odd with the URLs. If I port-forward port 80 on the NAT box back to port 3333 on the CC.rb system, everything works fine. However, I want to lock it down a bit, so I''ve set up a Nginx proxy on the CC.rb system, port 80, proxying back to 3333. The odd thing is that, when the proxy is running, some of the URLs are wrong. The main URL of the site is fine, and the links to the Projects are fine, but the sub-links (to the various builds) are showing an incorrect hostname. This problem only pops up with the proxy, not with the port forward. Has anyone run into this before? Thanks, Wade
Chad Woolley
2008-Jan-16 06:14 UTC
[Cruisecontrolrb-users] CruiseControl.rb URL problems with Nginx
I think we just dealt with a similar problem., and solved it by making all urls relative. I didn''t do the work, but I think there''s a ticket and/or mailing list post about it and perhaps a patch. Ping this thread again if you can''t find it, and I''ll try to get more info. On Jan 15, 2008 7:08 PM, H. Wade Minter <minter at thinkrelevance.com> wrote:> I have a CruiseControl.rb (version 1.2.1) instance running on a system > behind a NAT system. I''m noticing something odd with the URLs. > > If I port-forward port 80 on the NAT box back to port 3333 on the > CC.rb system, everything works fine. However, I want to lock it down > a bit, so I''ve set up a Nginx proxy on the CC.rb system, port 80, > proxying back to 3333. > > The odd thing is that, when the proxy is running, some of the URLs are > wrong. The main URL of the site is fine, and the links to the > Projects are fine, but the sub-links (to the various builds) are > showing an incorrect hostname. > > This problem only pops up with the proxy, not with the port forward. > > Has anyone run into this before? > > Thanks, > Wade > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >
Jeremy Stell-Smith
2008-Jan-16 17:41 UTC
[Cruisecontrolrb-users] CruiseControl.rb URL problems with Nginx
that patch has been accepted and is in the trunk, if you try it, let us know how it goes for you. Jeremy On Jan 15, 2008 10:14 PM, Chad Woolley <thewoolleyman at gmail.com> wrote:> I think we just dealt with a similar problem., and solved it by making > all urls relative. I didn''t do the work, but I think there''s a ticket > and/or mailing list post about it and perhaps a patch. Ping this > thread again if you can''t find it, and I''ll try to get more info. > > On Jan 15, 2008 7:08 PM, H. Wade Minter <minter at thinkrelevance.com> wrote: > > I have a CruiseControl.rb (version 1.2.1) instance running on a system > > behind a NAT system. I''m noticing something odd with the URLs. > > > > If I port-forward port 80 on the NAT box back to port 3333 on the > > CC.rb system, everything works fine. However, I want to lock it down > > a bit, so I''ve set up a Nginx proxy on the CC.rb system, port 80, > > proxying back to 3333. > > > > The odd thing is that, when the proxy is running, some of the URLs are > > wrong. The main URL of the site is fine, and the links to the > > Projects are fine, but the sub-links (to the various builds) are > > showing an incorrect hostname. > > > > This problem only pops up with the proxy, not with the port forward. > > > > Has anyone run into this before? > > > > Thanks, > > Wade > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080116/e78e7bef/attachment.html