NGINX Configuration Tips

Revision as of 07:41, 10 September 2008 by Mansoor (talk | contribs) (New page: Many configuration parameters of NGINX can be customized. This page provides tips to take care of the most usual ways to customize NGINX configuration. == View/Modify Route Lookup Handler...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Many configuration parameters of NGINX can be customized. This page provides tips to take care of the most usual ways to customize NGINX configuration.

View/Modify Route Lookup Handlers (garpu)

The command zmprov garpu (get all reverse proxy urls) gives a list of all the route lookup handlers used by NGINX for mail/web route discovery.

zmprov garpu will list all the servers for which the zimbraReverseProxyLookupTarget attribute is TRUE.

Therefore, to add a server to the route lookup handler list, execute the command:

zmprov ms <server> zimbraReverseProxyLookupTarget TRUE

To remove a server from the route lookup handler list, execute the command:

zmprov ms <server> zimbraReverseProxyLookupTarget FALSE

NOTE: Only add servers running the mailbox service to the route lookup handler list. This is because the URL used by NGINX is of the form http://<server>:7072/service/extension/nginx-lookup - and this URL is handled by jetty.

Jump to: navigation, search