Nginx(13)--https的实现

在安装编译nginx的时候编译模块--with-http_ssl_module 添加证书,使访问更加安全 实现方式 vim /usr/local/nginx/conf/nginx.conf #编辑nginx的配置文件 编辑内容如下: cd /etc/pki/tls/certs/ #切换到此目录下 make cert.pem #生成自签名证书 cp cert.pem /usr/local/nginx
相关文章
相关标签/搜索