Operating system and version (e.g., Ubuntu 24.04):
docker
Web server and version (e.g, Apache 2.4.25):
replace me
Reverse proxy and version _(e.g. nginx 1.27.2)
1.26.1
PHP version (e.g, 8.3):
7.2.24
Is this the first time you’ve seen this error? (Yes / No):
Yes
When did this problem seem to first start?
after upgrading from 28.0.8 to 29.0.10
Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
docker-compose
Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
The resource from “https://…/nextcloud/core/css/server.css?v=cfcd2084-0” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
The resource from “https://…/nextcloud/dist/core-common.js?v=395d5ed3-0” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
It’s complains about the text/html mime type because the following URL is generating a not found or internal server error or similar (which spits out an HTML page, which is unexpected there):
Please monitor your Nextcloud log and error log during these transactions.
There are also clearly some other pieces we’re missing, such as some other reverse proxy in the mix (whatever is handling HTTPS and the routing of what appears to be a subfolder style access method).
How is this supposed to work when the web server (nginx) is in a different container ? In my docker-compose file, the web server shares a common volume with the nextcloud container to access /var/www/html.