The idea is:
Accessible via Unix Domain Socket.
My use case:
It is intended to work on servers that cannot occupy ports.
I think it would be beneficial to add this because:
Supports n8n execution on servers that do not allow port occupation by the application itself.
These are ideal for reverse-proxy use cases using socket files.
Any resources to support this?
https://nodejs.org/api/net.html#serverlistenpath-backlog-callback
Are you willing to work on this?
I want this too.
It looks like the feature could be added here.
There are two options for where to set the path for the socket. Which do you think is better?
- Share
N8N_LISTEN_ADDRESS. Listen as unix domain socket path if it contains a slash.
- Add
N8N_LISTEN_SOCKET. Default to blank.
I would prefer N8N_LISTEN_SOCKET.
I think N8N_LISTEN_ADDRESS could cause unintended behavior due to cumbersome validation separation.