Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response Header from /subfolder are wrong or missing #3720

Closed
Jackson085 opened this issue Apr 23, 2024 · 1 comment
Closed

Response Header from /subfolder are wrong or missing #3720

Jackson085 opened this issue Apr 23, 2024 · 1 comment
Labels

Comments

@Jackson085
Copy link

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
I would like to achieve the following:
http://dev.local/ -> http://192.168.178.181:81
http://dev.local/app -> http://192.168.178.181:5000

image
image

But when I go to http://dev.local/app, I can see in the dev tools that it is trying to load the .js and .css files as text/html content
image

When i map http://dev.local/ -> http://192.168.178.181:5000 the page loads and the content type is set correctly
image

Nginx Proxy Manager Version
v2.11.1

Additional context
When I initially started with custom locations, I received this Problem (Error after updating - map not allowed here) so I used this workaround #3474 (comment)

@Jackson085 Jackson085 added the bug label Apr 23, 2024
@Jackson085
Copy link
Author

I finally found the bug. The index.html was loaded correctly but not the .js and .css files.

How did I "fixed" it?
I added a base tag to the index.html
<base href="/app/">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant