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

    Webapp behind ngnix reverse proxy

    Kopano WebApp
    2
    5
    908
    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.
    • bringha
      bringha last edited by bringha

      Hi there

      I am running kopano web app behind a nginx reverse proxy. I have now the problem that the login widget of the kopano web app does not appear when called via reverse proxy. Accessing web app directly runs fine. The relevant definition in the nginx config is

      location /webapp {
      
      			proxy_ssl_session_reuse off;
                              proxy_pass https://X.Y.Z.A:443;
                              proxy_set_header Host $host;
                              proxy_set_header        X-Real-IP       $remote_addr;
                              proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
                              proxy_redirect off;
                              proxy_ssl_server_name      on;
                              proxy_ssl_verify 	   off;
                      }
      

      What could have changed what is explaining this behavior?

      Looking forward to your reply

      Br br

      1 Reply Last reply Reply Quote 0
      • marty
        marty Kopano (Inactive) last edited by marty

        Hi @bringha,

        What is your WebApp version and from what version did you upgrade?

        This was merged a couple of days back. Could be related:
        https://stash.kopano.io/projects/KW/repos/kopano-webapp/commits/524deb159004d5126b352381a7be2ea0c12e0005

        https://documentation.kopano.io/deskapp_admin_manual
        http://documentation.kopano.io/webapp_smime_manual
        https://documentation.kopano.io/webapp_admin_manual

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

          Its WebApp 3.4.0.971-0+607.1, might be somewhat older but did work so far. Don’t know anymore from which version I updated …

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

            Updated now to WebApp 3.4.6.1225+715.1 - the most actual one - now difference …

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

              <Update> Found it: The problem ist that our NGINX reverse proxy is configured with Content Security Policy (CSP) in a pretty strict config. As Webapp uses a lot of inline scripting and inline eval it is not yet CSP compliant. We will have a debate how to deal with as we wanted to make Webapps accessible from outside.

              Is it worthwhile to put a feature request for Webapp supporting CSP or is it perhaps already on the roadmap ?!

              Looking forward to your reply.

              Br br

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