匿名用户 提问于 2015-10-11

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

1 答案

发布
管理员 2015-10-12

默认一个公网ip,只能配置一个域名https
详细请访问:http://segmentfault.com/q/1010000002581052

#1

请登录或者 注册 来提交答案