Changes between Initial Version and Version 1 of Ticket #237, comment 8
- 11/09/12 14:34:31 (11 years ago)
initial v1 1 Yes, that's exactly what I'm requesting: a supported, documented way to pass in file descriptors for sockets. I proposed this as a patch because using the NGINX environment variable is troublesome for end-users, even if it becomes publicly documented and supported in its current state. 1 Yes, that's exactly what I'm requesting: a supported, documented way to pass in file descriptors for sockets. 2 2 3 3 Using NGINX directly with systemd is troublesome because a mismatch between the system socket and the "listen" directive causes nginx to ignore the systemd socket and try to open the socket itself. It ignores the systemd socket quietly because it sees the socket as an inherited one that's no longer in use in the current configuration. And, it's impossible to add better error reporting without distinguishing between sockets in the configuration that should ''always'' be inherited from ones that ''might'' be inherited because of internal hand-off during a reload.