http, https issue

Aníbal Rojas anibalrojas at gmail.com
Fri Jan 18 00:38:25 MSK 2008


Please provide you nginx.conf file

--
Aníbal Rojas
http://hasmanydevelopers.com
http://rubycorner.com
http://anibal.rojas.com

On Jan 18, 2008 4:44 PM, Ricardo Acras <lists at ruby-forum.com> wrote:
> Hello,
>
>   I am setting up my rails app to work with ginx and cluster mongrel.
> Everything seems to be fine. But sometimes I get an error.
>   Investigating, the error ocurred always when something redirects to a
> https:// like URL.
>   Investigating deeply I found out that this redirection occurs when the
> acts_as_authenticated plugin in my app is "used".
>   The thing is that this redirection is different when I access the app
> directly via mongrel, see bellow.
>   My question is: what should make nginx redirect to a https instead of
> http? So I can investigate better.
>
> Thanks.
> Acras
>
> === directly to mongrel
> Processing TasksController#index (for 192.168.254.5 at 2008-01-17
> 19:03:46) [GET]
>   Session ID: b1c5b09b7b0df57fc12710906ec6d149
>   Parameters: {"action"=>"index", "controller"=>"tasks"}
> Redirected to http://bbking:4662/account/login
>
> === through nginx
> Processing TasksController#index (for 127.0.0.1 at 2008-01-17 18:49:40)
> [GET]
>   Session ID: 66f58053fd6b885764e8f29f6d6f5fba
>   Parameters: {"action"=>"index", "controller"=>"tasks"}
> Redirected to https://bbking:8081/account/login
> --
> Posted via http://www.ruby-forum.com/.
>
>





More information about the nginx mailing list