标签:client lis nginx配置 ast md5 cgi 配置 文章 root
NGINX配置SSL
server {
listen 443ssl;
server_name smsapi.chunbo.com;
root /var/www/smsapi.david.com;
ssl on;
ssl_certificate /etc/nginx/conf.d/server.crt;
ssl_certificate_key /etc/nginx/conf.d/server.key;
ssl_client_certificate /etc/nginx/conf.d/ca.crt;
ssl_verify_client off;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
indexindex.php index.html;
}
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
if (-f$request_filename) {
fastcgi_pass 127.0.0.1:9000;
}
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
#nginx 配置完成,reloadNginx服务
---------------------
作者:易大飞
来源:CSDN
原文:https://blog.csdn.net/stf1065716904/article/details/74012579
版权声明:本文为博主原创文章,转载请附上博文链接!
标签:client lis nginx配置 ast md5 cgi 配置 文章 root
原文地址:https://www.cnblogs.com/hnxxcxg/p/11301030.html