nginx proxy_next_upstream实现故障转移
如果后端的服务器返回502、504、执行超时等错误,自动将请求转发到upstream负载均衡池中的另… 继续阅读 nginx proxy_next_upstream实现故障转移
如果后端的服务器返回502、504、执行超时等错误,自动将请求转发到upstream负载均衡池中的另… 继续阅读 nginx proxy_next_upstream实现故障转移
注释掉.user.ini内容即可
先在nginx.conf中的http模块下配置 limit_req_zone $binary_rem… 继续阅读 Nginx使用limit_req_zone对同一IP访问进行限流
ssl kubectl create secret tls tls-test-mycom-com -… 继续阅读 kubernetes部署nginx ssl aliyun aks
OCSP Stapling原理 OCSP(Online Certificate Status Pro… 继续阅读 nginx开启OCSP Stapling 配置
以下顺序从高到低: 精确匹配 = 有修饰符的前缀匹配 ^~(立刻停止后续的正则搜索) 按文件中顺序的… 继续阅读 nginx location路由匹配
location / { index index.php index.html index.htm;… 继续阅读 nginx路径去掉index.php
server { listen 80; server_name test.com; return 3… 继续阅读 HTTP请求转发到HTTPS
报错: [error] 1233#0: *5 FastCGI sent in stderr: “PH… 继续阅读 [error] 1233#0: *5 FastCGI sent in stderr: “PHP message: PHP Warning: require(): open_basedir restriction in effect. File(/home/wwwroot/test/thinkphp/start.php) is not within the allowed path(s): (/home/wwwroot/test/public/:/tmp/:/proc/) in /home/wwwroot/test/public/index.php on line 17PHP message: PHP Warning:
server_name xxx.xxx.com; listen 443; ssl on; acces… 继续阅读 nginx 指定 tls 版本
从http://www.google.com/post/123 到https://www.baidu… 继续阅读 nginx rewrite实现路径修改
server { listen 80; listen [::]:80; server_name lo… 继续阅读 try_files $uri $uri/ /index.html =404; 处理静态页面内部路由404问题
ConfigMap nginx-config kind: ConfigMap apiVersion:… 继续阅读 kubernetes部署 php-fpm nginx应用
报错信息: 2021/03/21 06:07:35 [error] 23#23: *5 FastCG… 继续阅读 2021/03/21 06:07:35 [error] 23#23: *5 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 10.244.11.0, server: _, request: “GET /123.php HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “10.104.198.121”
upstream xxxx { least_conn; #选择当前连接数最少的server… 继续阅读 nginx tcp负载均衡算法
nginx.conf … stream { proxy_timeout 1d; proxy_co… 继续阅读 nginx tcp代理 负载均衡
curl https://get.acme.sh | sh alias acme.sh=~/.acm… 继续阅读 linux安装acme.sh自动更新https证书
rewrite server { listen 80; server_name test.com w… 继续阅读 nginx中http强制跳https
启用 SSL Session 缓存可以大大减少 TLS 的反复验证,减少 TLS 握手的 round… 继续阅读 nginx启用 SSL Session 缓存
在server域 ssl_buffer_size 4k; sslbuffersize 控制在发送数据… 继续阅读 nginx调整ssl_buffer_size