redirection problem

3 views
Skip to first unread message

rdavila

unread,
Apr 29, 2009, 11:17:29 PM4/29/09
to Phusion Passenger Discussions
Hi, I'm trying to migrate from Nginx with Thin to Nginx with
Passenger, but the redirection don't work correctly.

With Nginx and Thin:

http://staging.app.com -> http://ar.staging.app.com

With Nginx and Passenger:

http://staging.app.com -> http://ar.app.com

Thanks.

Hongli Lai

unread,
Apr 30, 2009, 5:46:49 AM4/30/09
to phusion-...@googlegroups.com

How does the config look like?

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

rdavila

unread,
Apr 30, 2009, 10:00:42 AM4/30/09
to Phusion Passenger Discussions
Here are the config files: http://pastie.org/463822

Thanks.

rdavila

unread,
May 5, 2009, 5:54:59 PM5/5/09
to Phusion Passenger Discussions
Hi Hongli, very thanks for your help, I've solved the 'problem', the
error was mine, I've not specifying the correct environment in the
virtual host config.

Best regards.
Reply all
Reply to author
Forward
0 new messages