nginx ssl
2015-11-14 14:59
459 查看
server {
listen 443;
server_name app.tin.com;
ssl on;
ssl_certificate /usr/local/nginx/conf/1_app.tin.com_bundle.crt; #证书
ssl_certificate_key /usr/local/nginx/conf/2_app.tin.com.key; #密钥
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+EXP;
ssl_prefer_server_ciphers on;
location / {
root /data/myhtml; # 挂载路径
index index.php index.html index.htm;
}
}
listen 443;
server_name app.tin.com;
ssl on;
ssl_certificate /usr/local/nginx/conf/1_app.tin.com_bundle.crt; #证书
ssl_certificate_key /usr/local/nginx/conf/2_app.tin.com.key; #密钥
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+EXP;
ssl_prefer_server_ciphers on;
location / {
root /data/myhtml; # 挂载路径
index index.php index.html index.htm;
}
}
相关文章推荐
- 基于nginx的负载均衡
- 修改nginx中php的后辍名文件名
- ubuntu 14.04 nginx + mysql + php源码安装
- nginx上传文件
- lnmp nginx mysql双主+keepalived
- ubuntu nginx session 丢失 保持方法
- nginx--提供一键安装脚本
- Nginx基础入门之Nginx命令控制说明
- linux之nginx的安装
- 在CentOS上使用EPEL安装Nginx/PHP-FPM环境
- Nginx之location 匹配规则详解
- Nginx配置详解
- Nginx在Linux下的安装与配置
- nginx服务器安装及配置文件详解
- Nginx slab内存管理
- nginx自定义负载均衡策略
- Nginx优化 突破十万并发
- nginx epoll
- nginx连接池
- nginx + mysql + php相关源码包及安装