首页 » ngnix » 正文

nginx上安装ssl模块遇见符号链接找不到的问题

原因:找不到ssl的头文件和库文件,指定就好了

./configure –prefix=/usr/local/nginx –with-http_stub_status_module –with-http_ssl_module –with-cc-opt=’-I/usr/local/Cellar/openssl/1.0.2d_1/include/openssl’ –with-ld-opt=’-L/usr/local/Cellar/openssl/1.0.2d_1/lib’