原创 基於Django框架的Uwsgi反向代理

uwsgi和django-admin後面要用到,如果爲了方便,你也可以設置軟鏈接。 創建一個django框架的demo [root@iZwz97473w2ydu1pgsmzk4Z run]# mkdir uwsgi [root@iZ

原创 LNMP-fastcgi配置

一、   二、環境部署 1、安裝php的解釋環境 #添加支持yum repo源 yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum inst

原创 發佈訂閱

原创 官網解讀-fastcgi_param

Syntax: fastcgi_param parameter value [if_not_empty]; Default: — Context: http, server, location Sets a parameter that

原创 Redis安裝

需要注意的一個問題: 你的服務器之前要安裝過gcc纔可以正常安裝,yum install gcc。  

原创 fastcgi-緩存配置

Syntax: fastcgi_ignore_headers field ...; Default: — Context: http, server, location Disables processing of certa

原创 vim技巧

vim到達指定行 :n(你想達到的行數) vim取消高亮 :noh  vim批量替換文字 %s/源字符串/目的字符串/g(全局替換) 注意:特殊符號用轉義字符

原创 官網解讀-WebSocket proxying

http協議升級機制:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Protocol_upgrade_mechanism To turn a connection between a

原创 官網解讀-Module ngx_http_slice_module

Example ConfigurationDirectives      sliceEmbedded Variables The ngx_http_slice_module module (1.9.8) is a filter t

原创 websocket代理

我的官網解讀博客:https://blog.csdn.net/qq_41904061/article/details/100606098 握手機制: 刷新: 配置文件:

原创 Nginx緩存命中率分析與統計

大致分爲兩種方式 通過設置response頭信息 設置打印信息格式,查看打印日誌 緩存命中分析 awk https://www.runoob.com/linux/linux-comm-awk.html 1、創建好的

原创 iperf3

Usage: iperf [-s|-c host] [options]        iperf [-h|--help] [-v|--version] Server or Client:   -p, --port      #      

原创 firewalld防火牆中的zone

原文鏈接:https://wenku.baidu.com/view/68fc5b7cbceb19e8b9f6ba20.html https://wenku.baidu.com/view/68fc

原创 firewall命令

[--permanent] [--zone=zone] --list-protocols            List protocols added for zone as a space separated list. If zon