最新下载
热门教程
- 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-23
- 阴阳师弈墨砚生莲皮肤怎么样 阴阳师弈墨砚生莲皮肤介绍 04-23
- 重返未来1999北方哨歌技能介绍 重返未来1999北方哨歌技能是什么 04-23
- 影之刃3怎么带双戒指 04-23
- 星际战甲技能消耗有哪些 04-23
- 光遇怎么飞过暴风眼大门 04-23