Hi, can you help with this issue please. Thanks.
Problem: static files 404
- Proxy Project to NextJS: 404 with static files
_next/static/css/6a59acd66c44214d.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
- Failed to load resource: the server responded with a status of 404 ()
What I did:
- Run a nextjs site on Docker on port 9006
- Accessing with IP:9006 works fine
- Add Proxy project on aaPanel with default configuration, change nothing
- The above problem appears
When I was running Traefik to serve this same NextJS on my domain it worked perfectly.
I read in many threads about proxying problems but can't find an effective solution for this.
I guess it's about adding / revising a block in the configuration but can't know what to fix specifically.
Can you suggest? thanks.