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中间件架构-代理服务 代理区别正向代理代理的对象是客户端反向代理代理的对象是服务端 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中间件架构-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中间件架构-Lua开发 Lua介绍 nginx调用Lua指令 nginx lua api(lua调用nginx) 2018-06-17 NGINX Nginx中间件架构 NGINX Nginx中间件架构
nginx中间件架构-HTTPS服务 secure_link_module geoip_module http_geoip_module使用场景 生成秘钥和CA证书 2018-06-17 NGINX Nginx中间件架构 NGINX Nginx中间件架构
nginx中间件架构-负载均衡 upstream 负载均衡调度状态 调度算法 url_hash1234Syntax: hash key [consistent];Default: -;Context: upstream;this directive appeared in version 1.7.2 代理缓存 proxy_cache 完整 部分 缓存过期周期 缓存的维度 如何清除指定缓存 如何让指定页面不进行缓存 大文件分 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中间件架构
从零开始搭建创业公司后台技术栈 从零开始搭建创业公司后台技术栈:https://mp.weixin.qq.com/s/rMQxxSVebFJMkSuzht5HDQ?client=tim&ADUIN=1348954449&ADSESSION=1561252296&ADTAG=CLIENT.QQ.5603_.0&ADPUBNO=26882 2018-05-13 工具 工具