摘要:
参考官方地址:http://nginx.org/en/docs/http/ngx_http_core_module.html#variables 用$limit_rate内置的变量可以限制nginx的响应速度。 比如限制nginx每秒响应1kb的内容给客户端。那么可以进行如下设置即可: 效果如下,可 阅读全文
posted @ 2019-11-29 21:44
Arvin-Tao
阅读(286)
评论(0)
推荐(0)
摘要:
1.root 下面举例说明: location /i/ { root /data/w3; } 请求 http://foofish.net/i/top.gif 这个地址时,那么在服务器里面对应的真正的资源是 /data/w3/i/top.gif文件 注意:真实的路径是root指定的值加上locatio 阅读全文
posted @ 2019-11-29 21:27
Arvin-Tao
阅读(336)
评论(0)
推荐(0)

浙公网安备 33010602011771号