[GH-ISSUE #1109] NGINX-UI is not respecting it's proxy location. #602

Closed
opened 2026-02-26 12:08:52 +03:00 by kerem · 1 comment
Owner

Originally created by @uphv on GitHub (Jun 3, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1109

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.

Originally created by @uphv on GitHub (Jun 3, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1109 **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://<site name>/nginxui). 2. Visit https://<site name>/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://<site name>/ (i.e. https://<site name>/api/...) instead of https://<site name>/nginxui/api/... **Expected behavior** Requests should be directed to the proxy location (i.e. https://<site name>/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.
kerem 2026-02-26 12:08:52 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Jun 4, 2025):

Thanks for your report. This issue should be resolved in a72045b.

<!-- gh-comment-id:2938050761 --> @0xJacky commented on GitHub (Jun 4, 2025): Thanks for your report. This issue should be resolved in a72045b.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#602
No description provided.