Setting up Crowd Behind Nginx Causes a Redirect Loop

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

 

問題

After setting up Crowd behind Nginx, logging in to Crowd causes a redirect loop between:

原因

This might be caused by the configuration in Nginx side.

Crowd will redirect from login.action to defaultstartpage.action when a user successfully log in. However, it will redirect to login.action again if the browser sees that it doesn't have a cookie for the user.

There is a possibility that the cookie was generated for a wrong domain and therefore Crowd redirects to login page again.

ソリューション

  • Try changing your parameters in Nginx's Configuration as below
パラメーター推奨Instead of
proxy_passhttp://127.0.0.1:8095/;. http://localhost:8095/;
proxy_redirectproxy_redirect off;proxy_redirect http://yourcompany.com/ /;
  • Add address="127.0.0.1" to the Connector definition in the server.xml file (The main one with the proxyName)
最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.