mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #1205] 请求支持自定义启动脚本 #2482
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#2482
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 @tedcriss on GitHub (Jul 4, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1205
Is your feature request related to a problem? Please describe.
需要在物理机上同时使用systemctl和nginx ui运行两个nginx主进程,前者使用nginx默认参数,如果后者也使用默认参数,会冲突。
Describe the solution you'd like
可以支持自定义启动脚本,也即可以自定义修改
nginx-ui/internal/nginx/nginx.go: line 75。Describe alternatives you've considered
可以在配置文件中自定义启动脚本,类似reload命令、restart命令。
Additional context
如果可能,要是能够支持只定义文件位置,就可以自动生成启动命令就好了,类似我定义nginx.conf的位置和nginx程序的位置,程序内部自动生成nginx的运行命令然后执行,这样更加直观一些,否则配置比较复杂。