最新下载
热门教程
- 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$ { |
相关文章
- 苏丹的游戏部队获得途径 07-05
- 苏丹的游戏全部奇珍获取方式 07-05
- 金铲铲之战s14堡垒执事阵容攻略 07-05
- SATS价值币是什么?在2025年SATS币上涨空间大嘛? 07-05
- 燕云十六声我即是江湖称号怎么获得 07-05
- 崩坏星穹铁道3.2全追忆残像收集攻略 07-05