Results 1 to 2 of 2

Thread: z-push behind nginx proxy

  1. #1
    Senior Member
    Join Date
    Nov 2012
    Location
    Minneapolis MN, USA
    Posts
    106

    z-push behind nginx proxy

    I'm trying to get z-push to work behind a nginx proxy so we can use kopano webmeetings. My proxy configuration is basically working for everything except sending. I'm hopefully its a simple omission. Anybody have a working nginx proxy config for z-push? I've also entered a ticket for this but thought I would post here as well as the solution may well be useful to others.

    My configuration looks as follows :
    location /Microsoft-Server-ActiveSync/ {
    proxy_pass http://localhost:8000/Microsoft-Server-ActiveSync/;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }

    I also extended the timeouts to 3600 seconds. Downloading and viewing mail works fine. Send mail results in messages stuck in the Outbox of the phone and errors in the z-push log looking as follows :

    24/02/2017 16:24:59 [17159] [FATAL] [dje] WBXML debug data:
    24/02/2017 16:24:59 [17159] [FATAL] [dje] WBXML debug data:
    24/02/2017 16:24:59 [17159] [FATAL] [dje] Exception: (HTTPReturnCodeException) - KopanoBackend->SendMail(): Error saving/submitting the message to the Outbox: 0xFFFFFFFF80040607
    24/02/2017 16:24:59 [17159] [FATAL] [dje] Exception: (HTTPReturnCodeException) - KopanoBackend->SendMail(): Error saving/submitting the message to the Outbox: 0xFFFFFFFF80040607

    David

  2. #2
    Senior Member
    Join Date
    Nov 2012
    Location
    Minneapolis MN, USA
    Posts
    106
    Support responded and the following location/proxy_pass appears to work:

    location /Microsoft-Server-ActiveSync {
    proxy_pass http://localhost:8000;

Similar Threads

  1. z-push "proxy" is possible??
    By downtheroad in forum Z-Push when using Kopano/Zarafa
    Replies: 2
    Last Post: 19-05-2016, 03:44 PM
  2. WebMeetings without Nginx
    By caldwell in forum Web Meetings
    Replies: 0
    Last Post: 03-02-2016, 08:56 PM
  3. Using an Nginx proxy to Zarafa and X-Push (Active Sync)
    By halfgaar in forum Installation, Configuration and Maintenance
    Replies: 5
    Last Post: 08-07-2015, 12:31 PM
  4. z-push error with nginx
    By iamrt in forum Z-Push when using Kopano/Zarafa
    Replies: 1
    Last Post: 18-01-2015, 01:32 AM
  5. Drawbacks with nginx?
    By kongobeer in forum Administration and Integration
    Replies: 5
    Last Post: 08-11-2012, 01:47 PM

Bookmarks

Posting Permissions

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