nginx -V
nginx version: nginx/1.9.5
built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
built with LibreSSL 2.3.0
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --user=www --group=www --with-http_stub_status_module --with-http_v2_module --with-http_ssl_module --with-ipv6 --with-http_gzip_static_module --with-http_realip_module --with-http_flv_module --with-ld-opt=-ljemalloc --with-openssl=/root/oneinstack/src/libressl-2.3.0 --with-ld-opt=-lrt
配置了一个https站点是没有问题的 但是 一旦大于1个 就会报错
nginx: [emerg] duplicate listen options for 0.0.0.0:443 in /usr/local/nginx/conf/vhost/lab.solarhell.com.conf:7
nginx version: nginx/1.9.5
built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
built with LibreSSL 2.3.0
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --user=www --group=www --with-http_stub_status_module --with-http_v2_module --with-http_ssl_module --with-ipv6 --with-http_gzip_static_module --with-http_realip_module --with-http_flv_module --with-ld-opt=-ljemalloc --with-openssl=/root/oneinstack/src/libressl-2.3.0 --with-ld-opt=-lrt
配置了一个https站点是没有问题的 但是 一旦大于1个 就会报错
nginx: [emerg] duplicate listen options for 0.0.0.0:443 in /usr/local/nginx/conf/vhost/lab.solarhell.com.conf:7