最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
nginx接入https/ssl关键配置文件
时间:2022-06-30 18:59:18 编辑:袖梨 来源:一聚教程网
https配置
代码如下 | 复制代码 |
server { ssl on; ssl_session_timeout 5m; ssl_protocols SSLv2 SSLv3 TLSv1; location / { |
实例 nginx接入https关键配置文件
代码如下 | 复制代码 |
ssl on; access_log /data/logs/SSL_www.test.com_access.log; root /www/test/ssl/web; index index.php index.html index.htm; if ($uri !~ ^.*(.xml|.html|.htm|index.php|soap.php|php.php|health.php|status|.swf|.css|.js|.gif|.png|.jpg|.jpeg|.ico)){ location ~ .php$ { |
实例 nginx接入ssl完整配置文件
代码如下 | 复制代码 |
server ssl on; access_log /data/logs/SSL_www.test.com_access.log; root /www/test/ssl/web; index index.php index.html index.htm; if ($uri !~ ^.*(.xml|.html|.htm|index.php|soap.php|php.php|health.php|status|.swf|.css|.js|.gif|.png|.jpg|.jpeg|.ico)){ location ~ .php$ { |
相关文章
- 价格跟踪交易-价格跟踪交易软件 04-25
- 碧蓝航线使用要注意什么 04-25
- 明日之后苹果能做什么食物攻略 04-25
- 以闪亮之名浅栗捏脸数据id攻略 04-25
- 逆水寒手游春归学堂奇遇如何完成 04-25
- 明日之后二层别墅建造蓝图攻略 04-25