使用模块 ngx_http_gzip_module 用gzip方法压缩响应数据,节约带宽 一、启用或禁用gzip压缩 gzip on | off; 二、压缩比由低到高:1 到 9, 默认:1 gzip_comp_level level; 压缩比越高,越消耗CPU 三、匹配到客户端浏览器不执行压缩 g ...
分类:
其他好文 时间:
2021-06-03 18:08:25
阅读次数:
0
* Official English Documentation: http://nginx.org/en/docs/ * Official Russian Documentation: http://nginx.org/ru/docs/ #==基础配置==# user nginx; #设置运行用户 ...
分类:
其他好文 时间:
2021-06-03 18:04:40
阅读次数:
0
通过某一个值排序输出 if (json.Entity[0].Attributes.find(f => f.Key == "ssss_confirmed_by") != undefined) { SDK.CrmRest.retrieveMultipleRecords("SystemUser", "?$ ...
分类:
编程语言 时间:
2021-06-03 17:59:51
阅读次数:
0
问题1:harbor服务不能正常提供? Error response from daemon: Get http://hub.atguigu.com/v2/: dial tcp 192.168.66.100:80: connect: connection refused 原因分析:harbor服务器 ...
分类:
其他好文 时间:
2021-06-03 17:53:13
阅读次数:
0
查看帮助 $ mkdir --help Usage mkdir [OPTION]... DIRECTORY... Option -m, --mode=MODE set file mode (as in chmod), not a=rwx - umask -p, --parents no error ...
分类:
系统相关 时间:
2021-06-03 17:41:30
阅读次数:
0
解析器主要就是解析出NALU,以及解析一些SPS、PPS等信息,下面分析一下ff_h264_parser AVCodecParser ff_h264_parser = { .codec_ids = { AV_CODEC_ID_H264 }, .priv_data_size = sizeof(H264 ...
分类:
其他好文 时间:
2021-06-02 20:50:21
阅读次数:
0
一。运行命令 在项目的终端可以使用如下命令,操作项目python python manage.py runserver # 启动flask 服务python manage.py db init # 只有第一次迁移时,才会执行 该命令, 执行完,会生成迁移文件python manage.py db m ...
分类:
其他好文 时间:
2021-06-02 20:06:28
阅读次数:
0
启动nginx服务时如果遇到这个错误 Job for nginx.service failed because the control process exited with error code. See “systemctl stat 可能原因如下: 1.nginx配置文件有错误 运行下面命令查 ...
分类:
其他好文 时间:
2021-06-02 19:50:08
阅读次数:
0
默认nginx不开启缓存 open_file_cache off; nginx可以缓存以下三种信息: (1) 文件元数据:文件的描述符、文件大小和最近一次的修改时间 (2) 打开的目录结构 (3) 没有找到的或者没有权限访问的文件的相关信息max=N:可缓存的缓存项上限;达到上限后会使用LRU算法实 ...
分类:
其他好文 时间:
2021-06-02 19:44:50
阅读次数:
0
环境介绍 RHEL8 nginx 192.168.92.129 RHEL8 myxql 192.168.92.130 RHEL8 php 192.168.92.131 nginx配置 //关闭服务器和selinux [root@nginx ~]# systemctl disable --now fi ...
分类:
其他好文 时间:
2021-06-02 19:38:14
阅读次数:
0