会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
袁邦臣
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
下一页
2022年7月22日
nginx 通用Linux内核参数设置
摘要: 默认的Linux内核参数考虑的是最通?场景,不符合用于支并发访问的Web服务器的定义,根据业务特点来进行调整,当Nginx作为静态web内容服务器、 反向代理或者提供压缩服务器的服务器时,内核参数的调整都是不同的,此处针对最通用的使Nginx支持更多并发请求的TCP网络参数做简单的配置,修改/etc
阅读全文
posted @ 2022-07-22 11:49 yuanbangchen
阅读(257)
评论(0)
推荐(0)
2022年7月21日
ngx_http_fastcgi_module模块
摘要: ngx_http_fastcgi_module模块 :ngx_http_fastcgi_module实现通过fastcgi协议(FastCGI服务器)将指定的客户端请求转发给php-fpm处理,不支持php模块方式 fastcgi_pass address; #转发请求到后端服务器,address为
阅读全文
posted @ 2022-07-21 20:46 yuanbangchen
阅读(128)
评论(0)
推荐(0)
LNMP项⽬实战-WordPress站点搭建--nginx+php-fpm
摘要: 1 A 安装其它软件 wget https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm #包含较新的PHP等软件包 yum install remi-release-7.rpm yum install php72
阅读全文
posted @ 2022-07-21 20:31 yuanbangchen
阅读(129)
评论(0)
推荐(0)
2022年7月20日
ngx_stream_proxy_module模块--实现Nginx tcp负载均衡
摘要: 七层代理和三层代理的配置文件结构 http { #ngx_http_core_module模块 upstream httpdsrvs { server 192.168.80.120 weight=3 ; } server { listen 80; server_name www.magedu.net
阅读全文
posted @ 2022-07-20 18:04 yuanbangchen
阅读(796)
评论(0)
推荐(0)
ngx_http_upstream_module模块
摘要: ngx_http_upstream_module模块: 将多个服务器定义成服务器组,而由proxy_pass, fastcgi_pass等指令进行引用 upstream name { ... } 定义后端服务器组,会引入一个新的上下文 Context: http upstream httpdsrvs
阅读全文
posted @ 2022-07-20 11:39 yuanbangchen
阅读(414)
评论(0)
推荐(0)
2022年7月19日
ngx_http_proxy_module反向代理
摘要: nginx反向代理:reverse proxy,可代理外网用户的请求到内部的指定web服务器,并将数据返回给用户nginx除了可以在企业提供高性能的web服务之外,另外还可以将本身不具备的请求通过某种预定义的协议转发至其它服务器处理,不同的协议就是nginx服务器与其他服务器进行通信的一种规范主要在
阅读全文
posted @ 2022-07-19 12:03 yuanbangchen
阅读(398)
评论(0)
推荐(0)
2022年7月18日
ngx_http_referer_module 盗链模块
摘要: ngx_http_referer_module模块:用来阻止Referer首部无有效值的请求访问,可防止盗链 valid_referers none|blocked|server_names|string ...; 定义referer首部的合法可用值,不能匹配的将是非法值 none: 请求报文首部没
阅读全文
posted @ 2022-07-18 16:49 yuanbangchen
阅读(248)
评论(0)
推荐(0)
2022年7月17日
ngx_http_rewrite_module模块
摘要: Nginx服务器利⽤ngx_http_rewrite_module 将用户请求的URI基于PCRE regex所描述的模式进行检查,而后完成重定向替换,模块解析和处理rewrite请求,此功能依靠 PCRE(perl compatible regularexpression), 因此编译之前要安装P
阅读全文
posted @ 2022-07-17 17:35 yuanbangchen
阅读(422)
评论(0)
推荐(0)
ngx_http_ssl_module模块
摘要: ngx_http_ssl_module模块: ngx_http_ssl_module模块: ssl on | off; 为指定虚拟机启用HTTPS protocol,已淘汰,建议用listen指令代替 ssl_certificate file; 当前虚拟主机使用PEM格式的证书文件。后缀为pem或c
阅读全文
posted @ 2022-07-17 14:13 yuanbangchen
阅读(546)
评论(0)
推荐(0)
auth_basic+autoindex模块+ upload 参数
摘要: ngx_http_auth_basic_module模块:实现基于用户的访问控制,使用basic机制进行用户认证, auth_basic string | off; auth_basic_user_file file; location /admin { auth_basic "Admin Area
阅读全文
posted @ 2022-07-17 11:34 yuanbangchen
阅读(68)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
下一页
公告