nginx配置(带https)
来源:互联网 发布:淘宝开店教程下载 编辑:程序博客网 时间:2024/06/08 10:05
server { listen 80; listen 443 default ssl; server_name wen.lvxingpai.com; #charset koi8-r; #access_log logs/host.access.log main; ssl_certificate /home/zhanglu/214136673600938.pem; ssl_certificate_key /home/zhanglu/214136673600938.key; ssl_session_timeout 5m; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; location / { # root html; # index index.html index.htm; proxy_pass http://127.0.0.1:7088; } location / { proxy_pass http://127.0.0.1:12100; #root *; #index index.html index.htm; }}./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-pcre=/opt/nginx/pcre-8.35make &make installopenssl genrsa -des3 -out nginx.key 2048 openssl req -new -key nginx.key -out nginx.csr
联系我
本人qq群 463175657
阅读全文
0 0
- nginx配置(带https)
- Nginx(12):nginx配置https
- nginx 配置https server
- nginx 配置https
- Nginx 配置 https 加密
- Nginx配置https服务器
- Ubuntu nginx 配置https
- nginx https配置
- nginx配置https
- nginx 配置https
- nginx 配置HTTPS服务器
- Linux nginx配置https
- nginx 配置https 环境
- Nginx配置Https
- nginx配置https
- Nginx配置https访问
- nginx配置https服务
- nginx配置https方法
- GCC 编译优化指南
- 字符串的排列
- C++之求有向无环图的最长路径(拓扑排序+动态规划)
- 【译】Executor, ExecutorService 和 Executors 间的不同
- arcgis10.3地图服务发布二(外网发布)
- nginx配置(带https)
- zookeeper
- Java消息队列-Spring整合ActiveMq
- 【安全牛学习笔记】XSS的简述
- ……
- SpringJunit 单元测试
- js的循环语句
- ajax跨域问题解决方案
- 创建型模式的讨论