Unable to run Mtabase on subpath

Hi, I am facing some trouble while trying to run Metabase in production mode. I am using Nginx to host it. In the root location, I am using Django. In the /metabase/ location, I have set Metabase to be hosted. However, the issue is when I try to go to the /metabase/ page, I receive a blank page. In the console, I have found that it is trying to get different data from the root URL and returning a 404 error, but it should be fetching data from /metabase/. Here are my configurations:

/etc/default/metabase

MB_SITE_URL="https://nrms.mist.ac.bd/metabase/"

/etc/nginx/sites-enabled/default

server {
    listen 443 ssl default_server;
    listen [::]:443 ssl default_server;
    ssl_certificate /etc/ssl/mist-cert/STAR.mist.ac.bd.crt;
    ssl_certificate_key /etc/ssl/mist-cert/STAR.mist.ac.bd.key;
    client_max_body_size 60M;
    server_name _;

    location / {
        proxy_pass http://unix:/tmp/daphne.sock;
    }  

    location /metabase/ {
        proxy_pass http://localhost:3000;

        proxy_set_header   Host $host;
        proxy_set_header   X-Real-IP $remote_addr;
        proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

console log

(index):21 Warning: the Metabase site URL basename "/metabase/" does not match the actual basename "/".
(anonymous) @ (index):21
(anonymous) @ (index):27
(index):22 You probably want to update the Site URL setting to "https://nrms.mist.ac.bd/"
(anonymous) @ (index):22
(anonymous) @ (index):27
nrms.mist.ac.bd/:1 Refused to apply style from 'https://nrms.mist.ac.bd/metabase/app/dist/styles.0da6e66be6cc239f5c52.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
nrms.mist.ac.bd/:1 Refused to apply style from 'https://nrms.mist.ac.bd/metabase/app/dist/app-main.fac244561a663c3c23f8.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
nrms.mist.ac.bd/:1 Refused to apply style from 'https://nrms.mist.ac.bd/app/dist/styles.0da6e66be6cc239f5c52.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
nrms.mist.ac.bd/:28     GET https://nrms.mist.ac.bd/app/dist/runtime.b6af5120041cba0f43b2.js net::ERR_ABORTED 404 (Not Found)
nrms.mist.ac.bd/:1 Refused to execute script from 'https://nrms.mist.ac.bd/app/dist/runtime.b6af5120041cba0f43b2.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
nrms.mist.ac.bd/:1 Refused to apply style from 'https://nrms.mist.ac.bd/app/dist/app-main.fac244561a663c3c23f8.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
nrms.mist.ac.bd/:28     GET https://nrms.mist.ac.bd/app/dist/styles.eb0724e950b012d8cf1f.js 404 (Not Found)
nrms.mist.ac.bd/:1 Refused to execute script from 'https://nrms.mist.ac.bd/app/dist/styles.eb0724e950b012d8cf1f.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
nrms.mist.ac.bd/:28     GET https://nrms.mist.ac.bd/app/dist/vendor.8c94e15957c840c06fcb.js net::ERR_ABORTED 404 (Not Found)
nrms.mist.ac.bd/:1 Refused to execute script from 'https://nrms.mist.ac.bd/app/dist/vendor.8c94e15957c840c06fcb.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
nrms.mist.ac.bd/:28     GET https://nrms.mist.ac.bd/app/dist/app-main.6c2b4fdd50d45a2344a2.js net::ERR_ABORTED 404 (Not Found)
nrms.mist.ac.bd/:1 Refused to execute script from 'https://nrms.mist.ac.bd/app/dist/app-main.6c2b4fdd50d45a2344a2.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
(index):29     GET https://www.google-analytics.com/analytics.js net::ERR_BLOCKED_BY_CLIENT
GET https://nrms.mist.ac.bd/app/assets/img/site.webmanifest 404 (Not Found)
site.webmanifest:2 Manifest: Line: 2, column: 1, Syntax error.
favicon.ico:1     GET https://nrms.mist.ac.bd/app/assets/img/favicon.ico 404 (Not Found)

Os: Ubuntu server 22.04
Metabase : 0.47

Check the examples here Download results (.csv, .json, .xlsx) request does not include subpath when deploying on subpath · Issue #33244 · metabase/metabase · GitHub