Sonarr and nginx with unix sockets

The standard way of configuring Sonarr to work with nginx that I’ve seen involves using something like:

proxy_pass          http://127.0.0.1:8989;

If possible, I’d rather use a unix socket to avoid unnecessary overhead and, I believe, to increase security (assuming the socket file permissions are set up appropriately).

Is this possible with Sonarr? I’ve not been able to find much information about it.

No, not possible. I don’t see how that would improve security though, its all still hidden behind the reverse proxy, just make sure you restrict access to port 8989.

Thanks for getting back to me quickly and clarifying.

Yeah, not sure on the security front… I think I must have misremembered reading something about that somewhere. Port 8989 is firewalled off, so not accessible from the outside world.