When creating new document collabore container restarts

hi all

Got strange problem with my nextcloud + collabora online, when i create new document - my collabora container rebooting (first it show’s message: Well, this is embarrassing, we cannot connect to your document. Please try again. ) after it reboot my document’s open and save properly
So if I’m log in in my nextcloud and just open, modify and save document’s all working as intended but when I create any new document (Word, Excel, PowerPoint) it show me message and reboot’s collabora container
I don’t know how to fix that…… First I’m redeploy all of it and got no error… my document’s creates properly but when I shut down nextcloud and redeploy it with persistent storage I got error again… again shut down nextcloud and redeploy it as first time (without persistent storage) and still got error when creating document’s …. So sometimes it works and sometime not and I can’t get any coincidence in it (yesterday its works fine)
Can someone give a clue how to fix that ?

Some technical information
I am using pure docker, got ssl sertificates for my nextcloud and office.mydomain.com
when i put in browser nextcloud.mydomain.com it’s reddirecting me to nextcloud.mydomain.com and show grey lock left on https (if i click on it it’s says that connection is secure and sertificate is ok)
i’m using nginx as reverse proxy

nginx

sudo docker build .
sudo docker run -p 80:80 -p 443:443

nextcloud

sudo docker run -d -v nextcloud:/var/www/html -p 8080:80 nextcloud

collabora/code

sudo docker run -t -d -p 9980:9980 -e ‘domain=nextcloud\.mydomain\.com’ --restart always --cap-add MKNOD collabora/code

in nextcloud settings h1ttps://office.mydomain.com
some important part of my ngins config

server {
listen 80;
server_name nextcloud;
location / {
return 301 $host$request_uri;
}
}

server {
listen 443 ssl;
server_name nextcloud;
root /var/www/html;

ssl_certificate     /etc/nginx/fullchain1.pem;
ssl_certificate_key /etc/nginx/privkey1.pem;
ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers         HIGH:!aNULL:!MD5;

location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_pass :8080;
}

}

server {
listen 443 ssl;
server_name office;

ssl_certificate     /etc/nginx/office/fullchain1.pem;
ssl_certificate_key /etc/nginx/office/privkey1.pem;
ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers         HIGH:!aNULL:!MD5;

# static files
location ^~ /loleaflet {
    proxy_pass :9980;
    proxy_set_header Host $http_host;
}

and so on