Upgrading from 10.2.6 to 10.2.7 deleted my

CSS and JS directories from /web/sites/default/files

I created manually these directories, but on activating admin/config/development/performance "Aggregate CSS files" and "Aggregate JavaScript files " the directories are deleted again.

If I deactivate "Bandwidth optimization" (CSS and JS) all is fine but after activation all is broken because the CSS and JS directories are not created and the CSS and js files are missing.

Other websites with 10.2.6 are working fine.

Server: Nginx 1.24.0   // MySQL 10.6.7-MariaDB   //  PHP-8.3 

No errors in the logs.

Any ideas?

FIXED: my friend commented "location ~* \.(js|css|webp|png|jpg|jpeg|gif|ico|svg|eot|ttf|woff|woff2)$ {
    try_files $uri @rewrite;
}"