mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
feat: added http host config (#157)
Co-authored-by: 0xJacky <me@jackyu.cn>
This commit is contained in:
parent
5165554282
commit
2cba64c989
12 changed files with 96 additions and 59 deletions
2
main.go
2
main.go
|
@ -28,7 +28,7 @@ func main() {
|
|||
|
||||
overseer.Run(overseer.Config{
|
||||
Program: server.Program,
|
||||
Address: fmt.Sprintf(":%s", settings.ServerSettings.HttpPort),
|
||||
Address: fmt.Sprintf("%s:%s", settings.ServerSettings.HttpHost, settings.ServerSettings.HttpPort),
|
||||
Fetcher: &fetcher.File{Path: r.ExPath},
|
||||
TerminateTimeout: 0,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue