Please update the script to use WebSocket inside nginx reference https://www.odoo.com/documentation/16.0/administration/install/deploy.html#id7