Hello Ciphermail users,

Can anyone suggest a way to proxy the Ciphermail gateway through Nginx?

- Dima

On Thu, Sep 23, 2021 at 6:44 PM Dima Kovalyov <dima@knogin.com> wrote:
Hello Ciphermail,

We've put the encryption gateway behind nginx proxy (full configuration attached). Sample:
        location / {
                proxy_pass         https://192.168.0.1:8443/;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_cache_bypass $http_upgrade;
                proxy_intercept_errors on;


                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $remote_addr;
However when a new user accesses PDF Portal they are presented with a Login page instead of "Create new password" page for the user.

Also, inside the portal, some of the features like accessing system logs return a page with no style (screenshot attached).

Can you please advise what nginx configuration we can try to make Ciphermail work behind it?