Comments (2)
consul
逻辑和配置文件保持一致。
- 启动的时候加载
- 配置文件修改时需要
reload nginx
,consul
配置修改时,需要通过upstream
更新接口更新slardar
至于实时监听 consul
配置变更同步 slardar
的相关处理,有另外的程序来保证
from slardar.
@huangnauh 感谢回复,感谢upyun
测试了一下,发现 lua_code_cache off;
时是无法工作的, 你们开发的时候是怎么处理的哇?
from slardar.
Related Issues (20)
- The general heartbeet cannot set domain to host, only IP address is ok HOT 1
- The keepalive does not work
- Why consul.api use socket.http not lua-resty-http HOT 1
- banlance rule and show upstream HOT 2
- some question HOT 1
- when use ngx.socket.tcp, the function sslhandshake is a nil HOT 5
- router supprot? HOT 9
- I install slardar and run nginx but got this HOT 3
- router not working normally HOT 4
- Can't find variable HOT 2
- How to add upstream backup server in consul, Does it support? HOT 2
- slardar与OpenResty区别 HOT 1
- Stream based load balancing not working HOT 10
- 通过HTTP API修改UPSTREAM不起作用 HOT 4
- nginx: [error] failed to initialize Lua VM HOT 5
- Can not failover up to good server if one server down with consistent_hash method HOT 2
- How to apply different lua scripts to one host? HOT 2
- set_by_lua HOT 6
- Is there any reason for set `slardar` as a global variable in `init` phase ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slardar.