2021年3月3日

安装&&配置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 阅读(116) 评论(0) 推荐(0)

2021年2月28日

Unable to establish SSl connection

摘要: https://blog.csdn.net/ora_db/article/details/103902058 阅读全文

posted @ 2021-02-28 20:55 木林coder 阅读(293) 评论(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 阅读(69) 评论(0) 推荐(0)

2021年2月26日

ngx-lua相关命令

摘要: nginx文件 lua_code_cache off; content_by_lua_file /usr/local/openresty/lualib/project/grays/grays.lua; lua文件 ngx.header.content_type="text/plain"; ngx.s 阅读全文

posted @ 2021-02-26 20:23 木林coder 阅读(65) 评论(0) 推荐(0)

2021年2月25日

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 阅读(99) 评论(0) 推荐(0)

六星lua安装

摘要: wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz tar -zxvf LuaJIT-2.0.5.tar.gz cd LuaJIT-2.0.5 make && make install PREFIX=/usr/local/LuaJIT export 阅读全文

posted @ 2021-02-25 11:20 木林coder 阅读(77) 评论(0) 推荐(0)

编译安装nginx

摘要: https://www.cnblogs.com/luobiao320/p/7189934.html 阅读全文

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

2021年2月24日

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 阅读(82) 评论(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 阅读(135) 评论(0) 推荐(0)

redis-cluster

摘要: version: "3.6" services: #服务 master: image: redis container_name: master networks: redis-network: ipv4_address: 192.168.1.11 #设置ip地址 working_dir: /usr 阅读全文

posted @ 2021-02-24 15:14 木林coder 阅读(84) 评论(0) 推荐(0)

导航