Unable to access the onlyoffice for production with

Hi Guys,
I am trying to install onlyoffice with docker command by using nginx reverse proxy but when I am trying to access the onlyoficce with domain getting 502 Badgateway error, I have shared my nginx reverse proxy file and command that I am using for docker installation.

This is the docker commands
sudo docker run -i -t -d -p 6000:80 -p 8000:443 --restart=always -v onlyoffice_DocumentServer_logs:/var/log/onlyoffice -v onlyoffice_DocumentServer_data:/var/www/onlyoffice/Data -v onlyoffice_DocumentServer_lib:/var/lib/onlyoffice -v /etc/onlyoffice/documentserver/default.json:/etc/onlyoffice/documentserver/default.json --env-file /mnt/docker-partition/home/onlyoffice-docker/env.list -e JWT_SECRET=mysecret onlyoffice/documentserver

This the nginx file that I am using

Hello @Raxa

Please take a look at proxy configs that we recommend using: