nginx安装配置

先查看openssl相关
查看openssl 支持的客户端SSL/TLS版本
openssl s_client --help

根据版本支持情况决定是否指定安装特定版本;
-------------------------------------
nginx源码包安装:

1.预编译检查、配置,可以指定openssl版本,配置openssl源码解压目录预编译
./configure --prefix=/apps/nginx --user=www --group=www --with-http_stub_status_module --with-http_ssl_module --with-openssl=/apps/openssl-1.0.2k


2.编译nginx并且安装nginx
make && make install

3.访问nginx,出现nginx的欢迎页面说明配置成功
http://localhost/80

posted @ 2021-04-25 11:09  +纪+  阅读(42)  评论(0)    收藏  举报