Skip to content

Issue - serve a host as subpage from another host [ Two servers in single host ] #2594

@redtripleAAA

Description

@redtripleAAA

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

Issue - server a host as subpage from another host

Nginx Proxy Manager Version

v2.9.19

To Reproduce
Steps to reproduce the behavior:

You have two servers:
SERVER ONE >> https://serverone.com
SERVER TWO >> http://10.0.12.201:8134

SERVER ONE works fine, and I have a host record working from npm.

Now, I want to serve the SERVER TWO as part of SERVER ONE, for example, when I type URL
https://serverone.com/servertwo

Any idea what would be the issue here?

Reason doing this setup:
To server both servers in a single domain, that helps avoid CORS issues as well.

Expected behavior

To load server two into the subpage from server one as mentioned above

Screenshots

Screenshot 2023-02-07 at 1 47 42 PM

Screenshot 2023-02-07 at 1 47 04 PM

Note: I tried to use Locations setup from SERVER ONE, and point a subpage as location SERVER TWO.
However, it seems npm recognizes the input, still it shows error 404 Not Found

Operating System

Docker npm
Synolog DSM

Additional context

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