nginx reverse proxy, nosniff/mime type mismatch

i’m trying to set up syncthing with nginx, i followed the reverse proxy guide, but when accessing the site through nginx i get a bunch of errors such as:

The resource from “https://DOMAIN_NAME_REDACTED/syncthing/meta.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

The resource from “https://DOMAIN_NAME_REDACTED/syncthing/syncthing/app.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

any help/advice on what to check next would be amazing!

thanks!

switched from using nginx to caddy

the caddyfile that worked for me was

# jellyfin
tunes.example.com {
    reverse_proxy 127.0.0.1:8096
}

# syncthing
sync.example.com {
    reverse_proxy 127.0.0.1:8384
}