Rails 3, Authlogic, NGINX and HTTP basic authentication no working nicely together -


I'm in the initial stages of building an app using Rail 3. User authentication is powered by Authlogic, which I have setup too much (as standard) and everything is working locally as expected.

I have just posted the app to install the clean server of Santos 5.4 / NGNX / Passenger so that the employees can log in and enter the content etc. However, we are taking a long way from being ready for public eyes, so I have used the original certificate of NginX to keep the entire site behind the second level of certification. Unfortunately, Authlogic's authentication and NginX's original authentication are contradictory to each other. If original proof is on, then it is impossible to log in with Authlogic, even if I disable the original proof then Authlogic works as expected.

I have not posted any code because I'm not really sure whether the code is relevant. I wonder if this is a known issue and if there is a change then I can solve this problem. Can I do in the configuration for?

I can answer my question (after several hours of looking at the wrong place completely ). A good scripted trick was done on Authlogic :: session :: Config .

  class UserSession & lt; Authlogic :: Session :: Base allow_http_basic_auth false end  

Comments