Skip to content

Nginx-UI not respecting app.ini #798

@Jannomag

Description

@Jannomag

Hi,
I was trying to install nginx-ui on my Ubuntu Server 22.04 homeserver using the script for the install.sh.
Nginx-UI doesn't want to start because port 9000 is already in use.
So I changed it to 9010 in the app.ini in /usr/local/etc/nginx-ui/:

[server] RunMode = release HttpPort = 9010 HTTPChallengePort = 9180 

It seems that nginx-ui just ignores this file completely. The output of /usr/local/bin/nginx-ui -config /usr/local/etc/nginx-ui/app.ini is:

root@homeserver:~# /usr/local/bin/nginx-ui -config /usr/local/etc/nginx-ui/app.ini 2024/12/29 22:36:34 [overseer] disabled. run failed: listen tcp :9000: bind: address already in use 2024-12-29 22:36:34 INFO nginx-ui/main.go:41 Server exited root@homeserver:~# cat /usr/local/etc/nginx-ui/app.ini 

Also the systemd-service shows the same error. I already tried to reinstall multiple times including deleting the app.ini and it's directory but it still won't work.

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