Skip to content

Specific Location is working, General Location is giving 404 for same URI #1580

@zane-shus

Description

@zane-shus

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 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:

  1. Create two backends, and get NPM to point to the first.
  2. Create a location in the host

image
4. Hit your site.com/othercontainer/test.php and it works
5. Then, Change the location to be generic
6.
image
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions