Skip to content

NGINX-UI is not respecting it's proxy location. #1109

Closed
@uphv

Description

@uphv

Describe the bug
A after upgrading to 2.1.0 NGIX-UI requests are directed to the root of the site instead of it's proxy location.

To Reproduce
Steps to reproduce the behavior:

  1. Configure NGINX-UI to be proxied not on the root of the site but to another location (i.e. https:///nginxui).
  2. Visit https:///nginxui.
  3. A "Server error"message appears on top of the screen.
  4. With web debug console open I noticed that requests are directed to https:/// (i.e. https:///api/...) instead of https:///nginxui/api/...

Expected behavior
Requests should be directed to the proxy location (i.e. https:///nginxui/api/...).

Screenshots
Not available.

Info (please complete the following information):

  • Server OS: Ubuntu 24.04
  • Server Arch: amd64
  • Nginx UI Version: 2.1.0
  • Your Browser: Safari

Additional context
It was working fine in all the previous versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions