Nginx架构及核心流程及模块介绍 Nginx架构及核心流程及模块介绍:https://mp.weixin.qq.com/s?__biz=Mzg2MjEyMDI5NA==&mid=2247483697&idx=1&sn=a1e79703c39b00224ba613ba6c01a98e&chksm=ce0df138f97a782e0f97a2748dd8c4d1b48941d6229f4b6d5e22b 2018-06-22 NGINX #NGINX
nginx resolver 背景:nginx 配置proxy_pass后,访问接口出现no resolver defined to resolve错误,或者接口直接502,404,需要配置 nginx resolver 1234567891011server { server_name wfk.mohuani.com location / { resolver 114.114.114.114; prox 2018-06-22 NGINX #NGINX
nginx关键字 对关键字的解释会慢慢加上 master进程:worker进程:pass_proxy core Nginx.c:daemonmaster_processtimer_resolutionpidlock_fileworker_processesdebug_pointsuserworker_priorityworker_cpu_affinityworker_rlimit_nofileworker_rli 2018-06-22 NGINX #NGINX
nginx中间件架构-HTTPS服务 secure_link_module geoip_module http_geoip_module使用场景 生成秘钥和CA证书 2018-06-17 NGINX > Nginx中间件架构 #NGINX #Nginx中间件架构
nginx中间件架构-Lua开发 Lua介绍 nginx调用Lua指令 nginx lua api(lua调用nginx) 2018-06-17 NGINX > Nginx中间件架构 #NGINX #Nginx中间件架构
nginx中间件架构-web静态资源 http_x_forwarded_for1http_x_forwarded_for = Client IP, Proxy1 IP, Client2 IP, Client3 IP... http_auth_basic_module配置12345678910111213141516171819202122Syntax: auth_basic string | off;Default: auth_ba 2018-06-17 NGINX > Nginx中间件架构 #NGINX #Nginx中间件架构
nginx中间件架构-代理服务 代理区别正向代理代理的对象是客户端反向代理代理的对象是服务端 proxy_pass12345678配置语法Syntax: proxy_pass URL;Default: -;Context: location, if in location, limit_except;------http://localhost:8080/uri/https://192.168.1.1:8080/uri/ 缓冲 2018-06-17 NGINX > Nginx中间件架构 #NGINX #Nginx中间件架构
nginx中间件架构-性能优化 location匹配优先级 ~ 区分大小写,~~*不区分大小写 try_files场景:用于文件缓存 root和alias的区别 传递用户的真实ip在代理1处直接获取用户的ip,然后通过层层代理透传到后端 其他常见错误 文件句柄优化 针对用户进行修改 针对进程限制 cpu亲和绑定 gzip兼容 安全 2018-06-17 NGINX > Nginx中间件架构 #NGINX #Nginx中间件架构