Results 1 to 3 of 3

Thread: Proxy and error 502 question

  1. #1
    markusvl is offline Member
    Join Date
    Sep 2008
    Posts
    10
    Rep Power
    6

    Default Proxy and error 502 question

    Hi all,

    we have installed zimbra 5.0.9 as a multi server installation (2 x Proxy, 1 MTA In, 1 MTA Out, 2 x Mailbox and 1 master LDAP and 1 replica LDAP).

    We are working on that installation and found out that if we shut down one Mailbox server we get often a 502 error when we try to reach our log in page.
    The reason for that 502 is a GET request from the nginx to the shut down Mailbox server trying to download the /zimba/. So to prevent that 502 errors we are searching for a solution to get the shut down mailbox server out of the ngix configuration to let the nginx server send all requests to the up and running Mailbox server.

    Does anybody of you know how we can configure that?

    Thanks for your help.

    Markus

  2. #2
    schulze is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    I am having the same issue. Are there any suggestions about this?

  3. #3
    markusvl is offline Member
    Join Date
    Sep 2008
    Posts
    10
    Rep Power
    6

    Default

    Hi,

    you have to re configure your /opt/zimbra/conf/nginx/template/nginx.conf.web.template the section

    upstream ${web.upstream.name}
    {

    Index of /
    #http://your.server2.org:8080
    #${web.upstream.:servers}
    zmauth;
    }

    And restart nginx before you stop a mailbox server.

    You can do it in LDAP as well but I do not know how from top of my head.

    Cheers
    Markus

    But remember your mailboxes on the hashed out boxes will be gone.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •