i have js file that is working on apache without any issue and this js will generate a new file but when I try to switch to nginx it's got error
Refused to execute https://xxx.com/7108292739161.js as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.
any idea how I can solve this
thank you