Nginx keepalive when using a UNIX socket
UNIX sockets are still connections so the nginx keepalive is a cache of these, and it doesn't matter what happens at the lower levels.
keepalive here isn't the same as many other tools/services where those implies something is sent/received to maintain the connection.