摘要: 阅读全文
posted @ 2021-07-25 22:34 B_en′Pǎo 阅读(29) 评论(0) 推荐(0)
摘要: 修改不生效nginx.conf如下 user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768 阅读全文
posted @ 2021-07-19 16:00 B_en′Pǎo 阅读(457) 评论(0) 推荐(0)
摘要: nginx配置pc.conf文件如下: server { listen 80; server_name www.zhongyuan.com; #root /usr/share/nginx/html/pc; location / { root /usr/share/nginx/html/pc; } l 阅读全文
posted @ 2021-07-18 15:51 B_en′Pǎo 阅读(2441) 评论(0) 推荐(0)
摘要: worker_priority 0; #工作进程优先级,-20-20(19)实际只能达到19,修改成20优先级也是19 worker_rlimit_nofile 65535; #所有worker进程能打开的文件数量上限,包括:nginx的所有连接(例如与代理服务器的连接等),而不仅仅是与客户端的连接 阅读全文
posted @ 2021-07-16 16:16 B_en′Pǎo 阅读(62) 评论(0) 推荐(0)
摘要: 此文章参考https://blog.51cto.com/wangpengtai/2418636?source=dra https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client 一、nfs服务器部署 阅读全文
posted @ 2021-07-16 14:06 B_en′Pǎo 阅读(552) 评论(0) 推荐(0)
摘要: 打流软件yum安装yum install httpd-tools -y while true;do ab -c 1000 -n 2000 http://172.17.0.17/ ; done 查看cpu变化 watch -n 5 'ps axo pid,cmd,psr |grep nginx' 过一 阅读全文
posted @ 2021-07-16 10:48 B_en′Pǎo 阅读(64) 评论(0) 推荐(0)
摘要: debian9执行apt-get update -y 报错404 root@bogon:/etc/apt# apt-get update && apt-get upgrade && apt-get dist-upgrade Ign:1 http://mirrors.ustc.edu.cn/kali 阅读全文
posted @ 2021-07-16 01:45 B_en′Pǎo 阅读(2104) 评论(0) 推荐(0)
摘要: 安装debian的nginx 安装教程参考:https://blog.csdn.net/ShouZhuoFengFengSh/article/details/108411933https://www.cnblogs.com/wzxmt/p/12379847.html HttpHeadersModul 阅读全文
posted @ 2021-07-16 01:24 B_en′Pǎo 阅读(195) 评论(0) 推荐(0)
摘要: 查看命令,根据cpu核数具体修改 watch -n 5 'ps axo pid,cmd,psr |grep nginx' 阅读全文
posted @ 2021-07-15 18:07 B_en′Pǎo 阅读(60) 评论(0) 推荐(0)
摘要: 文章转载:https://www.cnblogs.com/lemon-flm/p/8352194.html 感谢作者 nginx比较强大,可以针对单个域名请求做出单个连接超时的配置. 比如些动态解释和静态解释可以根据业务的需求配置 proxy_connect_timeout :后端服务器连接的超时时 阅读全文
posted @ 2021-07-08 22:31 B_en′Pǎo 阅读(684) 评论(0) 推荐(0)