Feature request: Support Unix domain socket as the nginx-ui listen address
Author: NHKRokuCreated Aug 27, 2026Updated Aug 27, 2026
Labelsenhancement
Would it be possible to support configuring nginx-ui to listen on a Unix domain socket instead of a TCP address/port?
For example, something like:
[server] listen = /run/nginx-ui/nginx-ui.sock
or an equivalent configuration option.
This would be useful when nginx-ui is intended to be accessed only through a local nginx reverse proxy. It would avoid opening another TCP listener, even on 127.0.0.1, and would fit well with systemd's RuntimeDirectory= mechanism.
For example:
[Service] RuntimeDirectory=nginx-ui
could provide:
/run/nginx-ui/nginx-ui.sock
and nginx could proxy to it with:
location / { proxy_pass http://unix:/run/nginx-ui/nginx-ui.sock:; }
Is Unix domain socket listening something that could be supported?
Source: 0xJacky/nginx-ui