Which directive in a Nginx server configuration block defines the TCP ports on which the virtual host will be available, and which protocols it will use? (Specify ONLY the option name without any values.)

Answer: listen

题解

在 Nginx 设置档的「server」区块中,使用「listen」命令可以设置要监听的 TCP 地址和连接端口,以及是否要使用 SSL 或是尚未正式成为标准的 HTTP 版本。