最新下载
热门教程
- 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$ { |
相关文章
- 蛋仔派对2周年庆前瞻在哪里 06-02
- 江南百景图测试服招募怎么玩 06-02
- 阴阳师小朋友驾到怎么玩 06-02
- 鸣潮舒云秘制凉茶配方怎么获得 06-02
- 猜一猜:古人说的“夏清侯”是以下哪种物品的别称 蚂蚁庄园6月3日答案早知道 06-02
- 以下哪种食物富含胡萝卜素,大量食用可能会皮肤变黄 蚂蚁庄园今日答案6月3日 06-02