Specific Location is working, General Location is giving 404 for same URI
See original GitHub issueChecklist
- 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 have created a working Host. When I added a very specific location (down to the PHP page level e.g. /subfolder/page.php ) for a sub URI to go to a different backend container I am able to get locations to work, but when I create a generic location (at the /subfolder/ level), it is not able to work. As I am only making a small change, I am assuming its a bug.
Nginx Proxy Manager Version
To Reproduce Steps to reproduce the behavior:
- Create two backends, and get NPM to point to the first.
- Create a location in the host
4. Hit your site.com/othercontainer/test.php and it works
5. Then, Change the location to be generic
6.
7. Now I can no longer get to site.com/othercontainer/test.php
8. I am getting a 404 Not Found which I believe is coming from site.com
Expected behavior I would have expected them to hit the same content
Screenshots As attached in description
Operating System Using NPM within Portainer on Docker Swarm, on CentOS hosts. All are latest versions.
Additional context None
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Great to hear! Then I’ll close this for now. Be on the lookout for new releases, so you could potentially change back to the built in locations. Or leave it in the advanced config. Your choice 😉
your a champion, thank you! Worked perfect.