Related post youve already found : SuiteCRM REST API v8 Not working with Nginx (ubantu 18.0)
Just tying in for reference