Make a quick vote 🗳 ️How do you refer to SuiteCRM extensions: add-ons or plug-ins? Click here to have your say 👈

Running behind nginx reverse proxy

I just installed 8.1.0 and set it up to be behind my nginx proxy. This worked fine with an older install version 7.10.10, but when I do it with 8.1.0 I get “an error occurred while fetching metadata” . I enabled qa mode and looked for the graphql error and it’s a 502 bad gateway coming from the proxy I think.

Any idea how to fix this so it works? On another app that I’m proxying I had to configure that app to override the protocol and send as https even though the request was on http because the proxy is receiving on https and then passing on http.

Hope that makes sense. Any ideas?
Rich

I was able to fix this by adjusting the buffering on Nginx specifically I added these parameters in the server section:

proxy_busy_buffers_size     512k;
proxy_buffers  4 512k;
proxy_buffer_size 256k;

Only weird thing now that is happening is when I log out and try to log back in it just bounces me back to the login screen.