什么是nginx收听选项?我在nginx食谱上读到了listen 80 _;。我发现server_name _;指的是无效的server_name。那听我说什么?
参考文献https://nginx.org/en/docs/http/ngx_http_core_module.html#server
发布于 2022-08-15 05:07:26
监听443 ssl :使nginx侦听服务器上的所有ipv4地址,端口443 (0.0.0.0:443)
而
侦听: 443 ssl :make nginx侦听服务器上的所有ipv6地址,端口443(:443)
*443默认情况下不会使nginx在ipv4上响应,除非您指定参数ipv6only=off:
听:443 ipv6only=off;
ssl:
The ssl parameter (0.7.14) allows specifying that all connections accepted on this port should work in SSL mode.http2:
The http2 parameter (1.9.5) configures the port to accept HTTP/2 connections.这并不意味着它只接受HTTP/2连接。
https://stackoverflow.com/questions/73357094
复制相似问题