Commit Graph

108 Commits

Author SHA1 Message Date
Wen Ming
398941b72f
feature: add skywalking plugin. (#1241) 2020-05-27 17:55:47 +08:00
xxm404
5aeac03821
bugfix(CLI): fixed garbled Chinese response in browser. (#1598)
fix #1559
2020-05-25 23:14:36 +08:00
罗泽轩
9a6fc51d29
bugfix: raise error when none of the configured etcd can be connected (#1608)
Close #1561.
2020-05-22 20:47:47 +08:00
dengliming
3906545ac5
bugfix: incorrect variable name hostCount (#1585) 2020-05-14 23:29:11 +08:00
YuanSheng Wang
c351b38086
bugfix(lrucache): when creating cached objects, use resty-lock to avoid repeated creation. (#1486)
* bugfix(lrucache): one common use case for this library is avoid the so-called "dog-pile effect",
    that is, to limit concurrent backend queries for the same key when a cache miss happens.
* bugfix: catch the error messag by pcall, it may fail when generate new validator.
2020-04-22 17:47:16 +08:00
YuanSheng Wang
04539ae972
bugfix(CLI): added $prefix/deps/share/lua/5.1/?/init.lua to search path. (#1443) 2020-04-13 09:54:07 +08:00
Wen Ming
c76e7e3623
feature: remove lua dir. (#1351) 2020-03-31 23:23:29 +08:00
qiujiayu
11a9646866
change: check item count of DNS resolver (#1361) 2020-03-31 13:37:50 +08:00
SuperWalle
12677c322b
feature: Allow add custom shared dict (#1367) 2020-03-31 10:22:58 +08:00
qiujiayu
7baa0abd44
feature: if the dns_resolver is not set in the file conf/config.yaml, use the resolver in local DNS. (#1217)
Fix #1164
2020-03-26 09:48:18 +08:00
罗泽轩
dcd2ebc5e4
chore: improve plugins/proxy-cache (#1305)
1. unit all the default cache time to 10s.
2. remove repeated `if proxy_cache` check.
3. improve `generate_complex_value`'s performance.
4. better indent.
2020-03-20 12:26:43 +08:00
agile6v
fc948f9578
feautre: support for proxy mirror plugin. (#1288) 2020-03-19 08:10:03 +08:00
Ayeshmantha Perera
cee03225f8
feature: support multiple etcd address. (#1283) 2020-03-19 08:01:41 +08:00
agile6v
864aa16e91
feature: support for proxy caching plugin based on disk. (#1153) 2020-03-15 22:26:08 +08:00
Nirojan Selvanathan
2a2762a9c2
CLI: Adding warning message when running APISIX in root path. (#1236) 2020-03-13 15:57:12 +08:00
Ayeshmantha Perera
bd0ebdf742
CLI: bugfix profile path not found exception. (#1210) 2020-03-07 14:29:14 +08:00
Wen Ming
a610e8917c
Revert "feature: auto import nameservers into APISIX from system resolver. (#1167)" (#1205)
This reverts commit e1ac426443.
This PR break CI and no test cases cover, so I have to revert it.
2020-03-06 10:30:32 +08:00
dabue
6d2ecee48f
change: disables logging of errors about not found files into error_log for admin api.
Fix #1168
2020-03-04 09:37:26 +08:00
Ayeshmantha Perera
7340a07411
CLI: fixed bad code style. (#1182) 2020-03-03 17:34:20 +08:00
qiujiayu
e1ac426443
feature: auto import nameservers into APISIX from system resolver. (#1167)
Fix #1164
2020-03-02 16:04:15 +08:00
qiujiayu
b210a7b866
feature: support to load different config file by ENV APISIX_PROFILE profile (#1147) 2020-02-28 08:46:42 +08:00
YuanSheng Wang
de16a7e04f
bugfix: updated the dns parse result by TTL. (#1077) 2020-02-19 20:30:34 +08:00
YuanSheng Wang
e33f75da4e
bugfix: use ss.listen_port to generate https listening port. (#1133) 2020-02-18 12:40:15 +08:00
agile6v
01a5b807b5
feature: Add support for PROXY Protocol. (#1113) 2020-02-12 10:53:20 +08:00
YuanSheng Wang
4a681af4cb
CLI: added missing Lua path. (#1114) 2020-02-09 20:57:13 +08:00
Yousa
60b2493f5b CLI: bin/apisix to support the SO_REUSEPORT (#1085)
Fix #342
2020-02-09 17:19:45 +08:00
罗泽轩
abcd197312
feature: increase the default size of the core file (#1105)
Close #1101.
2020-02-04 11:02:07 +08:00
罗泽轩
fda20d99d5
feature: make the number of file is as configurable as the connections. (#1098) 2020-02-02 09:13:34 +08:00
Lien
86c4ef64d1 CLI: fixed path error when install with luarocks (#1068) 2020-01-16 15:22:30 +08:00
YuanSheng Wang
68d36e126d bugfix: added /usr/share/lua/5.1/apisix/lua/?.lua; to lua path (#1060) 2020-01-15 14:19:44 +08:00
tiantian wang
65446e8f24 change: add tips in the generated nginx.conf (#1040) 2020-01-12 09:10:51 +08:00
Changwei Hu
9c9be959d3 feature: chash key support more flexible ways (#1022)
upstream add hash_on, chash key support more flexible ways
 routes and services admin api add upstream_conf check
2020-01-10 15:17:17 +08:00
YuanSheng Wang
c21b8d2fde CLI: only used original Lua package path. (#1032) 2020-01-09 14:24:37 +08:00
YuanSheng Wang
ab86830f0f bugfix: use current folder as working space for developer. (#1030) 2020-01-07 20:18:25 +08:00
YuanSheng Wang
d4442ff6a7
change: disable search engine inclusion. (#1012) 2020-01-03 10:08:00 +08:00
ChelinTsien
101fe73525 bugfix: fix CIDR ip html escaped for real_ip_from in apisix (#1007)
when the value of set_real_ip_from is CIDR, the {{real_ip}} will html escaped.
2019-12-30 17:51:55 +08:00
ChelinTsien
206f8b8037 CLI: update apisix, maybe custom directory place in /usr (#1002) 2019-12-27 11:18:26 +08:00
Yousa
eff1ca78e9 feature: added support CORS for /apisix/admin. (#982) 2019-12-24 14:44:42 +08:00
Nirojan Selvanathan
9e0030e2e8 feature: added dev mode flag in config yaml to set the nginx worker_process to one (#926) 2019-12-05 00:09:20 +08:00
chnliyong
7443133031
Resolve #882 and simplify conf (#894)
* Resolve #882 and simplify conf
2019-11-24 23:05:52 +08:00
YuanSheng Wang
2c57621f23 bugfix: avoid a useless redirect when access /apisix/dashboard. (#886) 2019-11-20 19:01:59 +08:00
Lien
7b29586f7a fix: show more firendly error log when configuration field missed (#824) 2019-11-09 21:07:24 +08:00
周晶
c8934b2641 doc: update FAQ, add one about slow luarocks (#813) 2019-11-09 09:21:46 +08:00
YuanSheng Wang
4ee11806de
travis: supported to run APISIX with Tengine. (#683) 2019-11-02 09:05:38 +08:00
YuanSheng Wang
a1c56ceb53 bugfix: skipped to init etcd if use local file as config center. (#737) 2019-11-02 07:59:59 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
Geikiy
b49b03d863 CLI: added restart apisix server command (#765) 2019-10-30 20:36:56 +08:00
YuanSheng Wang
7309a0185b
bugfix: create /proto folder in etcd, will store protocol buffer description file. (#714) 2019-10-19 08:09:56 +08:00
WenMing
9ebd052403 bugfix: removed epoll in nginx.conf. (#711) 2019-10-18 21:55:01 +08:00
coolsoul
8075520fc8 CLI: added more nginx configures in the config.yaml. 2019-10-15 19:59:40 +08:00