随笔分类 -  环境类 / nginx

nginx 平滑升级
摘要:https://blog.csdn.net/m0_71888825/article/details/131307761 阅读全文

posted @ 2024-04-08 18:29 木林coder 阅读(6) 评论(0) 推荐(0) 编辑

查看ssl部署情况
摘要:openssl s_client -connect xxx.com:443 -servername "xxx.com" -tls1_2 |openssl x509 -noout -dates 阅读全文

posted @ 2024-04-08 13:49 木林coder 阅读(4) 评论(0) 推荐(0) 编辑

nginx限流配置
摘要:https://blog.csdn.net/weixin_39724194/article/details/130124717 阅读全文

posted @ 2024-03-12 16:28 木林coder 阅读(3) 评论(0) 推荐(0) 编辑

nginx-ssl
摘要:https://www.cnblogs.com/shi2310/p/16424447.html docker run --name nginx -p 443:443 -p 80:80 -v /usr/etc/docker/nginx/www:/usr/share/nginx/html -v /usr 阅读全文

posted @ 2023-06-11 14:25 木林coder 阅读(463) 评论(0) 推荐(0) 编辑

nginx - rewrite -location
摘要:https://blog.csdn.net/qq1356059950/article/details/125014248 阅读全文

posted @ 2023-06-07 23:14 木林coder 阅读(5) 评论(0) 推荐(0) 编辑

fastcgi 原理
摘要:https://blog.csdn.net/weixin_41882200/article/details/115009121 阅读全文

posted @ 2022-09-21 16:40 木林coder 阅读(12) 评论(0) 推荐(0) 编辑

nginx+lua乐观锁实现秒杀
摘要:package.path = '/class_goods/nginx/lua/5.1/lua-redis-cluster-master/?.lua;;/class_goods/nginx/lua/5.1/lua-resty-redis/lib/?.lua;;/class_goods/nginx/lu 阅读全文

posted @ 2021-07-08 10:23 木林coder 阅读(430) 评论(0) 推荐(0) 编辑

nginx常见bug
摘要:如果访问报404,原因可能有:1:路径错误 2:目录权限 3:配置文件-user root root; Nginx显示中文乱码问题: charset 'utf-8' default_type 'application/x-javascript;charset=utf-8'; ngx.header.c 阅读全文

posted @ 2021-06-04 17:30 木林coder 阅读(173) 评论(0) 推荐(0) 编辑

lua-resty-mlcache
摘要:opm search mlcache opm --install-dir=/usr/local/openresty/lualib/project/common/mlcache/ get thibaultcha/lua-resty-mlcache 阅读全文

posted @ 2021-03-07 18:44 木林coder 阅读(330) 评论(0) 推荐(0) 编辑

lua-resty-consul
摘要:yum install perl-Digest-MD5 -y opm search consul opm --install-dir=/usr/local/openresty/lualib/project/common get hamishforbes/lua-resty-consul /usr/d 阅读全文

posted @ 2021-03-04 17:32 木林coder 阅读(175) 评论(0) 推荐(0) 编辑

lua在nginx中的使用范围
摘要:https://blog.csdn.net/ygm_linux/article/details/53534933 阅读全文

posted @ 2021-03-04 17:19 木林coder 阅读(214) 评论(0) 推荐(0) 编辑

resty-redis-cluster下载地址
摘要:https://github.com/steve0511/resty-redis-cluster 阅读全文

posted @ 2021-03-03 11:24 木林coder 阅读(167) 评论(0) 推荐(0) 编辑

安装&&配置consul动态负载均衡
摘要:https://www.cnblogs.com/summerday152/p/14013439.html consul的nginx配置 upstream swoole_test { upsync 127.0.0.1:8500/v1/kv/upstreams/swoole_test upsync_ti 阅读全文

posted @ 2021-03-03 09:10 木林coder 阅读(109) 评论(0) 推荐(0) 编辑

openresty 安装
摘要:wget https://github.com/openresty/openresty/releases/download/v1.15.8.2/openresty-1.15.8.2.tar.gz ./configure --prefix=/usr/local/openresty 阅读全文

posted @ 2021-02-28 09:28 木林coder 阅读(63) 评论(0) 推荐(0) 编辑

ngx-lua
摘要:http { set $test 'hello world'; location \ { content_by_lua ' ngx.header.content_type="text/plain"; ngx.say (ngx.var.test); '; } } 阅读全文

posted @ 2021-02-25 21:10 木林coder 阅读(87) 评论(0) 推荐(0) 编辑

编译安装nginx
摘要:https://www.cnblogs.com/luobiao320/p/7189934.html 阅读全文

posted @ 2021-02-25 10:40 木林coder 阅读(33) 评论(0) 推荐(0) 编辑

nginx.conf-2
摘要:server { listen 80; server_name 120.78.64.28; location / { limit_req zone=one ; root /usr/local/nginx/html; index index.html index.htm index.php; #if 阅读全文

posted @ 2021-02-24 15:46 木林coder 阅读(79) 评论(0) 推荐(0) 编辑

nginx.conf
摘要:user root; worker_processes 1; worker_priority -15; worker_cpu_affinity auto; #error_log logs/error.log; #error_log logs/error.log notice; #error_log 阅读全文

posted @ 2021-02-24 15:44 木林coder 阅读(129) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示