Commit Graph

485 Commits

Author SHA1 Message Date
YuanSheng Wang
1aba1ce873
bugfix: do nothing for current checker when worker is exiting. (#264)
Fix #264 .
2019-07-18 13:53:02 +08:00
Yuansheng
39af6626b8 bugfix: used .* to match domain, which it can be optimized. 2019-07-18 13:39:52 +08:00
Yuansheng
d5b68d1a7d travis: removed useless perl module. 2019-07-18 07:59:38 +08:00
Yuansheng
a385ba6da2 doc: added new section about how to run the test cases. 2019-07-18 07:59:38 +08:00
YuanSheng Wang
1f150fd00b
change: updated lua-resty-libr3 to version 0.7. (#260) 2019-07-18 00:36:29 +08:00
YuanSheng Wang
5e119c4828
luarocks: added new dependency lua-resty-healthcheck. (#249)
* luarocks: added new dependencies `lua-resty-healthcheck` and `lua-resty-worker-event`.

* feature(balancer): fetched health node from upstream nodes in balancer phase when enabled 
  healthcheck.
2019-07-17 23:52:15 +08:00
YuanSheng Wang
35febe0609
change(CLI): code style. (#258)
use 4 space instead of `tab`.
simple code style.
short length of source code.
2019-07-17 23:36:29 +08:00
vkill
89f18e4349 bugfix(CLI): added timeout to init_etcd (#257) 2019-07-17 21:57:41 +08:00
WenMing
1676c01279 doc: Update libr3.md. (#255)
* Update libr3.md
2019-07-17 11:54:29 +08:00
WenMing
de5c7d6455
doc: added doc for how to use libr3. (#254) 2019-07-17 11:03:37 +08:00
WenMing
1f06580fa5 Update architecture-design-cn.md 2019-07-16 11:01:02 +08:00
WenMing
3e1f8e6121
feature: added configure for anti-ReDoS. (#250)
This configuration can avoid catastrophic backtracking of regular expressions, but to solve this problem thoroughly, we need to replace the regular engine, such as RE2.
2019-07-15 13:14:07 +08:00
YuanSheng Wang
be362c57d3
travis: installed all of the dependencies to current deps folder. (#248) 2019-07-15 08:46:10 +08:00
YuanSheng Wang
049014596b
test(APISIX.pm): added new cpath. change: updated nginx.conf. (#247)
* test(APISIX.pm): added new `cpath`.
* change: updated nginx.conf.
2019-07-15 08:24:35 +08:00
Yuansheng
0fe7819386 change: moved rockspec file to a single folder. 2019-07-14 23:18:32 +08:00
coolsoul
faeb07cadb feature: added check for openresty version and fixed style of documents. (#244) 2019-07-14 09:32:22 +08:00
Yuansheng
ee8d8b89ad doc: minor fix for https Chinese doc. 2019-07-13 08:36:45 +08:00
chnliyong
177e13da74 doc: update the doc of https for Chinese version. (#242)
Fix #238 .
2019-07-13 08:11:32 +08:00
vkill
b762cab4fb bugfix: copied http/*.lua in Makefile when do install (#240) 2019-07-12 20:26:36 +08:00
YuanSheng Wang
7cf243cdf9
change: code style + added local cache. (#241)
* change: code style + added local cache.
* luacov: added new path `lua/apisix/http/*`.
2019-07-12 19:08:59 +08:00
YuanSheng Wang
225b3d3106
doc: updated the doc of https. (#237) 2019-07-12 11:40:05 +08:00
WenMing
9fa04a923c
feature: supported real_ip configure in nginx.conf and added functions to get ip and remote ip. (#236)
* feature: supported real_ip configure in nginx.conf and added functions to get ip and remote ip.

* fixed code style.
2019-07-12 11:25:17 +08:00
YuanSheng Wang
ccd179a936
travis: used different compiler to run test. (#235)
* travis: specified language.
* test: added test cases for `core.table`.
2019-07-12 11:11:24 +08:00
Yuansheng
b88de3975a test: added more test case for local config. 2019-07-12 10:40:45 +08:00
Yuansheng
9ab303b7fb travis: only run when merge to master branch. 2019-07-12 10:40:45 +08:00
Yuansheng
9513e3d37c change: moved service and ssl source file to http folder. 2019-07-12 10:40:45 +08:00
Yuansheng
20d2ee5d7b change: moved service and upstream source file to http folder. 2019-07-12 10:40:45 +08:00
chnliyong
3730e6ade1 bugfix: failed early when lua isn't installed on make dev (#233) 2019-07-11 14:41:13 +08:00
YuanSheng Wang
83b0ee33f3
bugfix: lua-dir option is only supported if the luarocks version exceeds 3. (#229)
* bugfix: `lua-dir` option is only supported if the luarocks version
  exceeds 3.
* Makefile: removed unnecessary `sudo`.
2019-07-11 07:41:42 +08:00
周晶
947a3f5436 update travis runner script (#227) 2019-07-10 22:23:27 +08:00
周晶
374aba472b feature: update Makefile and travis CI for osx installation about using luajit building deps. (#217) 2019-07-10 11:32:16 +08:00
YuanSheng Wang
cd4eb7deed CLI: changed code style. (#225) 2019-07-09 22:28:02 +08:00
希望之石
f92f8a7829 bugfix: issue #223 (#224)
need to add `-c xxx` option for `stop` and `reload` action.

apisix 脚本stop、reload 也需要增加 -c 参数指定 nginx.conf 路径
2019-07-09 17:59:30 +08:00
YuanSheng Wang
0e4da3e8e5
doc: added more dependencies items. (#222) 2019-07-08 15:49:39 +08:00
nic-chen
39c12c9d7a doc: updated install dependencies on Mac OSX (#221) 2019-07-08 15:23:40 +08:00
nic-chen
5fccb78fa1 bugfix: set configuration file to avoid using a wrong one (#220) 2019-07-08 12:24:18 +08:00
Yuansheng
9de2107886 doc: installation steps for Mac OSX. 2019-07-07 08:49:04 +08:00
Yuansheng
1e8459c21c bugfix: compiled module 'rapidjson' with the luajit of openresty.
Fix #206.
2019-07-07 08:31:02 +08:00
Tinywan
151c899d45 Update README 2019-07-07 00:21:00 +08:00
YuanSheng Wang
565cb1653c
feature: added init action in makefile to initialize the runtime (#205)
* feature: added `init` action in makefile to initialize the runtime
  environment.
* doc: added more doc about `make` command.
* CLI: find the Lua from default PATH.
* bugfix: used short connection when to fetch node status.
2019-07-05 19:01:20 +08:00
YuanSheng Wang
764280f5ff
CLI: added default value for node ssl listen and allowed to run without http_stub_status_module. (#203)
* CLI: added default value for `node ssl listen` and allowed to run
  without `http_stub_status_module`.

* travis: fixed the wrong argument when calling CLI.
removed the `sudo` when run the CLI tool.
added logs folder to `apisix` project.
2019-07-05 11:16:24 +08:00
vkill
1e302f0545 Support configure node_ssl_listen 2019-07-05 08:59:14 +08:00
YuanSheng Wang
a8b3058da7
doc: added new options in route rule. (#196)
* doc: added new options in `route rule`.
2019-07-04 21:17:33 +08:00
YuanSheng Wang
2a9ab09401
feature: supported to use a separate port for admin dashboard. (#194)
* feature: supported to use a separate port for admin dashboard, and disabled admin port by default.
* travis: run a mini test case for CLI.
2019-07-03 21:03:17 +08:00
WenMing
be9304da9b
feature: added badge of coveralls. (#193) 2019-07-03 15:54:14 +08:00
WenMing
f62a2be238
feature: added luacov and coveralls. (#192) 2019-07-03 15:44:24 +08:00
WenMing
d52c147c27
doc: added twitter of apisix. (#191) 2019-07-03 14:47:05 +08:00
YuanSheng Wang
a626bde242 bugfix plugin: used config's version as a part of key. (#190) 2019-07-03 11:36:14 +08:00
YuanSheng Wang
bf52796b19
doc: typo. (#189)
* doc: typo.
2019-07-03 11:30:14 +08:00
YuanSheng Wang
7ee7029720
benchmark: added benchmark scripts. (#188)
* benchmark: added benchmark scripts.
* feature: added fake apisix, compare the result with this fake apisix server.
2019-07-03 09:53:58 +08:00