NginxProxyManager / NginxProxyManager/nginx-proxy-manager
Custom Location Subpath Redirect Problem
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
Hello, My version v2.12.1 then I have nginx installed on my local computer but on my server I can run another angular application on the sub path with nginx proxy manager installed in docker, but when I throw it to the server it says “Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/html”. Strict MIME type checking is enforced for module scripts per HTML spec.” gives this error. ”
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the local and server Nginx Proxy Manager configurations for the Angular application mounted under a subpath. Reproduce the deployment and inspect the failing module request, then verify that asset requests return JavaScript rather than the HTML fallback; the issue is resolved when the application loads without the MIME-type error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, docker, nginx
- Domain
- infrastructure, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100