Difference between revisions of "King0770-Notes-Disable-Zimbra-Desktop"

(Created page with " == Scenario == Disable Zimbra Desktop access for your users Add user_agent check in nginx web template files to block ZD access, proxy restart is required to generate nginx...")
 
Line 1: Line 1:
  
 
== Scenario ==
 
== Scenario ==
Disable Zimbra Desktop access for your users
+
<strong>Disable Zimbra Desktop access for your users</strong>
  
 
Add user_agent check in nginx web template files to block ZD access, proxy restart is required to generate nginx include files.  
 
Add user_agent check in nginx web template files to block ZD access, proxy restart is required to generate nginx include files.  

Revision as of 16:34, 27 November 2018

Scenario

Disable Zimbra Desktop access for your users

Add user_agent check in nginx web template files to block ZD access, proxy restart is required to generate nginx include files.

Directory - /opt/zimbra/conf/nginx/templates Files to change - nginx.conf.web.http.template and nginx.conf.web.https.template

Add below after http_cookie if block.

if ($http_user_agent ~* "Zimbra Desktop") { 
return 403; 
} 

Restart Proxy service

zmproxyctl restart 
Jump to: navigation, search