mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #809] Configuration entry server.BaseUrl does not take effect nor have associated document #428
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#428
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @garylavayou on GitHub (Jan 9, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/809
Describe the bug
There is an empty configuration item
BaseUrlin theserversection of the default configuration file (/usr/local/etc/nginx-ui/app.ini). Configuring it with a base URL path will not influence the access URL, i.e., I still access the service viahttp://ip_address:9000.Also, there is no document about this configuration item.
To Reproduce
Steps to reproduce the behavior:
edit
/usr/local/etc/nginx-ui/app.ini, setBaseUrl = /conf/nginx.restart nginx-ui via
systemctl restart nginx-ui.access the service from browser with URL:
http://ip_address:9000/conf/nginx.See error
404 Not Foundwith response body:Expected behavior
The service should be accessible from
http://ip_address:9000/conf/nginx, or remove the item from configuration item if it is not applicable.Info (please complete the following information):
@0xJacky commented on GitHub (Jan 9, 2025):
Hi @garylavayou, this option is not available in Nginx UI, it's a general settings option of Cosy framework (https://github.com/uozi-tech/cosy). To check the available settings options, please refer to https://nginxui.com/zh_CN/guide/config-server.html for more details.