Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Kopano behind reverse proxy

    Synchronising (mobile) devices via Z-Push
    3
    4
    501
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FabianRenntronic
      FabianRenntronic last edited by

      Hello everyone, currently I am using Kopano4UCS on a server behind a firewall. For security reasons, I want to put the server behind a reverse proxy. I set up a system using nginx which forwards /webapp, /Autodiscover and /Microsoft-Server-ActiveSync to the clients. The clients are Outlook 2019 with KOE and Android Smartphones using Nine. The clients could connect to the server and incoming mails were deliverend correctly, however outgoing mails were stuck in Outlook which was displaying ‘Sending item 1 of 1’ with the progressbar being almost at the end, but the mail never got out. Everything else worked. Also the mobile sync of calendar and contact data.

      Is there a special configuration which I need to apply or did I miss something?

      Thanks in advance for your help.

      externa1 1 Reply Last reply Reply Quote 0
      • externa1
        externa1 @FabianRenntronic last edited by

        @FabianRenntronic
        What i have set for apache2 as reverse proxy for exchange 2016 server is:

        <Directory /Microsoft-Server-ActiveSync>
        SSLRenegBufferSize 31457280
        </Directory>

        which should fix a problem sending attachments > 128kb to 30MB in this case

        maybe that may fix your problem too
        also i set a connectiontimeout=900 to the ProxyPass line

        rg
        Christian

        1 Reply Last reply Reply Quote 0
        • Manfred
          Manfred Kopano last edited by

          Hi @FabianRenntronic,

          did you check Z-Push, KOE and webserver’s logs?

          Manfred

          1 Reply Last reply Reply Quote 0
          • FabianRenntronic
            FabianRenntronic last edited by

            @Manfred I checked the logs of my reverse proyx and had the errors “upstream timed out (110: Connection timed out)” and “client intended to send too large body” which fit to the suggestions of @externa1. For nginx the working config settings for me are:

            client_max_body_size 100M;
            proxy_read_timeout 300;
            

            I added them to every “server” configuration and it works now.

            Thank you very much!

            Fabian

            1 Reply Last reply Reply Quote 1
            • First post
              Last post