kk Blog —— 通用基础


date [-d @int|str] [+%s|"+%F %T"]
netstat -ltunp
sar -n DEV 1

nginx 禁用代理缓冲

https://www.saoniuhuo.com/question/detail-2752805.html

浏览器中收到这些错误:

1
2
3
Firefox中的: NS_ERROR_NET_PARTIAL_TRANSFER

Chrome: net::ERR_HTTP2_PROTOCOL_ERROR 200

禁用代理缓冲:

1
2
3
4
5
6
location ~ ^/rails/active_storage/disk {
	...
	proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
	proxy_buffering off;
	...
}

这样就解决了问题

https://www.pianshen.com/article/2410401164/

缓冲控制

如果禁止缓冲,那么当Nginx一收到后端的反馈就同时传给客户端。

nginx 不会从被代理的服务器读取整个反馈信息。

nginx可从服务器一次接收的最大数据大小由 proxy_buffer_size 控制。

1
2
3
proxy_buffering    off;
proxy_buffer_size  128k;
proxy_buffers 100  128k;

相关参数

proxy_buffer_size

语法: proxy_buffer_size the_size

默认值: proxy_buffer_size 4k/8k

USB-Serial Controller D USB转串口驱动

PL2303

www.equdong.net/qtrj/usbdrv/15640.html

USB-Serial Controller D USB转串口驱动是官方提供的一款USB驱动,本站收集提供高速下载,用于解决USB接口不能正常识别,无法正常使用的问题,本动适用于:Windows XP / Windows 7 / Windows 8 / Windows 10 32/64位操作系统。有需要的朋友可以来本站下载安装。

PL2303_Prolific_DriverInstaller_v1_7_0.zip


340

另一种芯片是 CH340 ,该芯片与山特主机不适配?经常连不上、断开,在使用电池供电时无法识别物理接口?

华汉维无线wifi温湿度TH40W-E

http://www.1weilian.com

易维联

是实时掌握温度的远程控制软件,应用中有时间段查询功能,用户可以选择不同的开始和结束时间来查询数据内容;拥有区域选择功能,用户可以选择不同的区域查看各个区域设备详情。