Commit Graph

1161 Commits

Author SHA1 Message Date
wrl96
54abe58315
bugfix: failed to set server peer when upstreams.node is address in apisix.yaml (#1824)
Fix #1798
2020-07-10 18:47:11 +08:00
nic-chen
e598e6fa6a
bugfix: wrong counter was used, resulting in only one certificate working fine. (#1818)
Fix #1817
2020-07-10 18:39:08 +08:00
Wen Ming
a4e31b2f3d
optimize: increase ssl_session_cache size to 20m. (#1797) 2020-07-10 11:31:32 +08:00
wrl96
c41ababd41
bugfix(proxy-rewrite): symbol would be encoded to 0x3f (#1816) 2020-07-09 18:06:00 +08:00
Raisinata
0e517a25d6
feature: using GitHub action for CI (#1793) 2020-07-09 12:15:17 +08:00
YuanSheng Wang
a4c3c0f980
doc: update the text of DP and CP. (#1814) 2020-07-09 08:55:07 +08:00
yongboy
6fec021ab0
doc: fixed zh-cn/architecture-design.md images path error (#1813) 2020-07-08 18:23:22 +08:00
wonglend
588d46ff18
fix: replace location /robots.txt with location =/robots.txt for admin page. (#1807) 2020-07-07 10:36:32 +08:00
Wen Ming
5a38df1ffe
doc: add more steps for install. (#1805) 2020-07-07 10:35:02 +08:00
YuanYingdong
8494506767
doc: fixed some punctuation error in the document sample shell (#1803) 2020-07-06 09:54:23 +08:00
Joey
57289aeac1
doc: add guides for installing dependencies on fedora (#1800) 2020-07-04 07:48:10 +08:00
xxm404
794b1eb65e
bugfix: return 404 Not Found when the dashboard folder is empty. (#1799)
close #1794
2020-07-03 21:18:05 +08:00
jackstraw
e6e387a1c5
bugfix: missing argument premature because it was called by ngx.timer . (#1796) 2020-07-03 07:10:36 +08:00
YuanSheng Wang
2ccf020027
test: format by tool reindex. (#1775) 2020-07-02 22:04:24 +08:00
ko han
aeab71df80
change: 'get_plugin_list' API sorts the return list base on priority (#1779) 2020-07-01 17:05:02 +08:00
Wen Ming
0bcd397a90
rocks: fixed wrong source of 1.4. (#1783) 2020-07-01 17:04:10 +08:00
morrme
a9d60f97c5
change: remove authentication type for cors plugin (#1788)
fix #1787
2020-07-01 13:52:47 +08:00
jackstraw
3061aeefa3
bugfix(config etcd): when we reset the fetched data, sync_times also needs to be reset. (#1785) 2020-07-01 09:28:00 +08:00
Nirojan Selvanathan
d787cbd55e
release: released 1.4-0 version (#1742) 2020-06-30 13:34:00 +08:00
YuanSheng Wang
0d58ba7710
doc: remove router r3 . (#1764) 2020-06-30 13:33:35 +08:00
Scaat Feng
3fc7e7d502
doc: update Chinese README.md (#1763) 2020-06-28 20:07:33 +08:00
YuanSheng Wang
ee7533874d
optimize: Use lru to avoid resolving IP addresses repeatedly . (#1772)
* optimize: Use lru to avoid resolving IP addresses repeatedly .
Cached the global rules to `ctx` .

* optimzie: used a longer time interval for etcd and flush access log.

* optimize: return upstream node directly if the count is 1 .

* optimize: avoid to cache useless variable.
2020-06-28 18:14:38 +08:00
YuanSheng Wang
0ce0ed5fed
plugin(heartbeat): use info log level when failed to report heartbeat. (#1771) 2020-06-28 16:48:27 +08:00
Shenal Silva
ef89dceda6
feature: support etcd auth (#1769)
Fix #1713 , #1770
2020-06-26 17:25:58 +08:00
Shenal Silva
492fa71cbc
bugfix: added content-type for admin API responses (#1746) 2020-06-24 13:57:10 +08:00
YuanSheng Wang
d419fb2289
test: added test cases. (#1752) 2020-06-24 09:59:11 +08:00
Nirojan Selvanathan
78ab35db29
bugfix: Fix for remote open ID connect introspection (#1743)
fix #1741
2020-06-24 09:19:13 +08:00
Scaat Feng
8a523b6fe8
doc: updated k8s doc (#1757) 2020-06-23 19:04:05 +08:00
YuanSheng Wang
e30a7469bc
test: use longer ttl, avoid the cached item expired. (#1760) 2020-06-23 18:21:08 +08:00
Scaat Feng
eafaf15928
doc: update Chinese README.md (#1758) 2020-06-23 16:57:33 +08:00
Wen Ming
d372fe2516
bugfix: fixed configures of nginx.conf for security reasons (#1759)
removed working_directory and removed TLSv1 TLSv1.1 from ssl_protocols
2020-06-23 16:03:19 +08:00
Scaat Feng
550cf743d1
doc: add oauth plugins Chinese docs. (#1754) 2020-06-23 10:35:26 +08:00
Scaat Feng
a5ac97f8b6
doc: update admin-api docs (#1753) 2020-06-22 19:18:11 +08:00
Scaat Feng
497acbb749
doc: update http-logger plugins Chinese docs. (#1755) 2020-06-22 19:12:50 +08:00
YuanSheng Wang
6a43a8c735
feature: implemented plugin uri-blocklist . (#1727)
first step: #1617
2020-06-22 14:45:55 +08:00
YuanSheng Wang
748e33756b
refactory: collect upstream logic and put them in a single file. (#1734)
feature: support dynamic upstream in plugin.

here is a mini  example in `access` phase of plugin:

```lua
    local up_conf = {
        type = "roundrobin",
        nodes = {
            {host = conf.upstream.ip, port = conf.upstream.port, weight = 1},
        }
    }

    local ok, err = upstream.check_schema(up_conf)
    if not ok then
        return 500, err
    end

    local matched_route = ctx.matched_route
    upstream.set(ctx, up_conf.type .. "#route_" .. matched_route.value.id,
                 ctx.conf_version, up_conf, matched_route)
    return
```
2020-06-22 14:21:42 +08:00
YuanSheng Wang
9533c8a902
update lua-resty-raditree to ver 2.0 . (#1748) 2020-06-22 13:04:48 +08:00
Eric Shi
2b5ddbca2f
test: add test cases about the string id in service #1659 (#1750) 2020-06-22 12:55:58 +08:00
YuanSheng Wang
f1e66ad1a3
bugfix: id can be string object, which contains ^[a-zA-Z0-9-_]+$. (#1739)
Fix #1654
2020-06-21 16:28:11 +08:00
Ayeshmantha Perera
f8f104dc0f
feature(echo): support header filter and access phases. (#1708) 2020-06-19 21:33:20 +08:00
YuanSheng Wang
7307797f0e
feature: support the use of independent files to implement the load a… (#1732)
* feature: support the use of independent files to implement the load algorithm,
which is convenient for expanding different algorithms in the future.
2020-06-19 12:46:20 +08:00
YuanSheng Wang
e38d0a9dc8
change: update resty-radixtree to version 1.9 . (#1730) 2020-06-19 12:24:52 +08:00
Nirojan Selvanathan
b0a1580c67
doc: Refactoring docs to support docsify (#1724) 2020-06-19 12:03:55 +08:00
hellmage
0a8b73930e
doc: add Chinese translation of authz-keycloak plugin (#1729) 2020-06-18 21:38:09 +08:00
Corey.Wang
fab05899f8
doc: health-check-cn.md (#1723) 2020-06-18 15:46:44 +08:00
YuanSheng Wang
7d78a7ee46
update resty-etcd to version 1.0 . (#1725) 2020-06-18 09:25:24 +08:00
agile6v
3afcf54fe4
doc: update echo-cn.md (#1726) 2020-06-18 09:24:55 +08:00
YuanSheng Wang
6c3e66793f
doc: updated main picture. (#1719) 2020-06-17 10:37:47 +08:00
Vinci Xu
3010e04d47
feat[batch-request]: cp all header to every request (#1697) 2020-06-16 18:09:02 +08:00
Nirojan Selvanathan
cd98a2bec8
feature: support authorization Plugin for Keycloak Identity Server (#1701) 2020-06-16 13:51:36 +08:00