Moving server – Panel not loading and images not found

Ok, after a BUNCH of testing and EVEN MORE researching.

This helped…

Once I comment this (see below) out on my NGINX config file, all working.

location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf|map|mjs)$ {
    try_files $uri $uri/ /index.php$is_args$args;
    add_header Access-Control-Allow-Origin "*";
    add_header alt-svc 'h3=":443"; ma=86400';
    expires max;
    access_log off;
  }

Now the question is… how can I have caching for those files without messing with the images not being rendered?