Serving Quasar Vue App by using Redirect

Hello guys!

May you help me with that issue: I’m trying to deploy an App built in Quasar Vue, and I’ve installed Redirect app and directing requests to 127.0.0.0:4000 but the page is coming in blank and some errors come up in the console.
My Nginx conf is:


 rewrite ^/site$ /site/ permanent;
location /site/ {

  #oot /;
  #try_files $uri /index.html;

   root /site;

    add_header X-Frame-Options "SAMEORIGIN";
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Content-Type-Options "nosniff";

index index.html;

charset utf-8;

#try_files $uri $uri/ /index.html;


  proxy_pass        http://127.0.0.1:4000/;
  proxy_redirect    off;
  proxy_set_header  Host $host;
  proxy_set_header  X-Real-IP $remote_addr;
  proxy_set_header  X-Forwarded-Proto $scheme;
  proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header  X-Forwarded-Host $server_name;
  proxy_set_header  X-Forwarded-Port $server_port;

  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";

  # Include SSOWAT user panel.
  include conf.d/yunohost_panel.conf.inc;
  more_clear_input_headers 'Accept-Encoding';
}

Errors in the browser console:

Error with Permissions-Policy header: Unrecognized feature: 'battery'.
site/:1 Refused to execute script from 'https://bluebi.com.br/yunohost/sso/?r=aHR0cHM6Ly9ibHVlYmkuY29tLmJyL2pzL3ZlbmRvci4xZTFmYzEwMi5qcw==' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
site/:1 Refused to apply style from 'https://bluebi.com.br/yunohost/sso/?r=aHR0cHM6Ly9ibHVlYmkuY29tLmJyL2Nzcy92ZW5kb3IuMzAwN2JkNmIuY3Nz' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
site/:1 Refused to apply style from 'https://bluebi.com.br/yunohost/sso/?r=aHR0cHM6Ly9ibHVlYmkuY29tLmJyL2Nzcy9hcHAuYmFlOGY5ODAuY3Nz' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
site/:1 Refused to execute script from 'https://bluebi.com.br/yunohost/sso/?r=aHR0cHM6Ly9ibHVlYmkuY29tLmJyL2pzL2FwcC42NGVjNzEyNS5qcw==' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

I’ve tried to change the ownder of folder located in the root /site by using chown -R www-data:www-data /site

I’ve tried many things withtout success.
If someone could help me with that, I will appreciate a lot.

Thanks

My YunoHost server

Hardware: VPS bought online …
YunoHost version: 11.2.27 (stable).
I have access to my server : Through SSH …

As a workaround try removing add_header X-Content-Type-Options "nosniff"; in the nginx config.
The error is about MIME type, I don’t have the required competence to help you with that. May be the issue is in the app itself how it declares MIME type