[GitHub] [incubator-apisix-dashboard] imjoey commented on pull request #293: Fix incorrect format of some go source files

2020-07-08 Thread GitBox
imjoey commented on pull request #293: URL: https://github.com/apache/incubator-apisix-dashboard/pull/293#issuecomment-655319035 @juzhiyuan @gxthrj Thank you very much. This is an automated message from the Apache Git

[incubator-apisix-dashboard] branch master updated: Format codes by gofmt and goimports (#293)

2020-07-08 Thread juzhiyuan
This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git The following commit(s) were added to refs/heads/master by this push: new 89bcb7b Format codes by

[GitHub] [incubator-apisix-dashboard] juzhiyuan merged pull request #293: Fix incorrect format of some go source files

2020-07-08 Thread GitBox
juzhiyuan merged pull request #293: URL: https://github.com/apache/incubator-apisix-dashboard/pull/293 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [incubator-apisix] wrl96 commented on a change in pull request #1816: bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive

2020-07-08 Thread GitBox
wrl96 commented on a change in pull request #1816: URL: https://github.com/apache/incubator-apisix/pull/1816#discussion_r451444391 ## File path: apisix/plugins/proxy-rewrite.lua ## @@ -153,10 +154,20 @@ function _M.rewrite(conf, ctx) end end -upstream_uri =

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1818: multi ssl bug

2020-07-08 Thread GitBox
membphis commented on a change in pull request #1818: URL: https://github.com/apache/incubator-apisix/pull/1818#discussion_r451455993 ## File path: t/router/radixtree-sni.t ## @@ -448,15 +448,15 @@ location /t { local ssl_key = t.read_file("conf/cert/test2.key")

[GitHub] [incubator-apisix] DHB-liuhong opened a new pull request #1819: separate prometheus and access log

2020-07-08 Thread GitBox
DHB-liuhong opened a new pull request #1819: URL: https://github.com/apache/incubator-apisix/pull/1819 Signed-off-by: liuhong NOTE: Please read the Contributing.md guidelines before submitting your patch:

[GitHub] [incubator-apisix-dashboard] Rapiz1 opened a new pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
Rapiz1 opened a new pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299 Add a commit-msg checker Resolves https://github.com/apache/incubator-apisix-dashboard/issues/140 @juzhiyuan Can you test this on Mac?

[GitHub] [incubator-apisix] membphis commented on pull request #1819: separate prometheus and access log

2020-07-08 Thread GitBox
membphis commented on pull request #1819: URL: https://github.com/apache/incubator-apisix/pull/1819#issuecomment-655531461 Why do we need this feature? This is an automated message from the Apache Git Service. To respond to

[GitHub] [incubator-apisix] membphis commented on issue #1820: request help: how to get request body and url parameters

2020-07-08 Thread GitBox
membphis commented on issue #1820: URL: https://github.com/apache/incubator-apisix/issues/1820#issuecomment-655527361 read request body, please take a look at this document: https://github.com/openresty/lua-nginx-module#ngxreqread_body read URL parameters, you can take a look at

[GitHub] [incubator-apisix] wrl96 commented on a change in pull request #1816: bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive

2020-07-08 Thread GitBox
wrl96 commented on a change in pull request #1816: URL: https://github.com/apache/incubator-apisix/pull/1816#discussion_r451437233 ## File path: apisix/plugins/proxy-rewrite.lua ## @@ -153,10 +154,20 @@ function _M.rewrite(conf, ctx) end end -upstream_uri =

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1816: bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive

2020-07-08 Thread GitBox
membphis commented on a change in pull request #1816: URL: https://github.com/apache/incubator-apisix/pull/1816#discussion_r451435752 ## File path: apisix/plugins/proxy-rewrite.lua ## @@ -153,10 +154,20 @@ function _M.rewrite(conf, ctx) end end -

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1818: multi ssl bug

2020-07-08 Thread GitBox
membphis commented on a change in pull request #1818: URL: https://github.com/apache/incubator-apisix/pull/1818#discussion_r451555616 ## File path: apisix/http/router/radixtree_sni.lua ## @@ -172,13 +171,13 @@ function _M.match_and_set(api_ctx) end end

[GitHub] [incubator-apisix] membphis commented on pull request #1813: fix doc/zh-cn/architecture-design.md images path error

2020-07-08 Thread GitBox
membphis commented on pull request #1813: URL: https://github.com/apache/incubator-apisix/pull/1813#issuecomment-655431764 @yongboy many thx, merged This is an automated message from the Apache Git Service. To respond to the

[GitHub] [incubator-apisix] membphis closed issue #1812: bug: The `incubator-apisix/doc/zh-cn/architecture-design.md` doc has image error path desc

2020-07-08 Thread GitBox
membphis closed issue #1812: URL: https://github.com/apache/incubator-apisix/issues/1812 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[incubator-apisix] branch master updated: doc: fixed zh-cn/architecture-design.md images path error (#1813)

2020-07-08 Thread membphis
This is an automated email from the ASF dual-hosted git repository. membphis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git The following commit(s) were added to refs/heads/master by this push: new 6fec021 doc: fixed

[GitHub] [incubator-apisix] membphis merged pull request #1813: fix doc/zh-cn/architecture-design.md images path error

2020-07-08 Thread GitBox
membphis merged pull request #1813: URL: https://github.com/apache/incubator-apisix/pull/1813 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [incubator-apisix] nic-chen opened a new issue #1817: bug: In the case of multiple ssl certificates, some certificates are not available

2020-07-08 Thread GitBox
nic-chen opened a new issue #1817: URL: https://github.com/apache/incubator-apisix/issues/1817 ### Issue description In the case of multiple ssl certificates, some certificates are not available. ### Environment * apisix version (cmd: `apisix version`): 1.4

[GitHub] [incubator-apisix] nic-chen opened a new pull request #1818: multi ssl bug

2020-07-08 Thread GitBox
nic-chen opened a new pull request #1818: URL: https://github.com/apache/incubator-apisix/pull/1818 ### Summary fix multi ssl bug This bug affects released version 1.4 ### Issues resolved Fix #1817

[GitHub] [incubator-apisix] UnderTreeTech opened a new issue #1820: request help: how to get request body and url parameters

2020-07-08 Thread GitBox
UnderTreeTech opened a new issue #1820: URL: https://github.com/apache/incubator-apisix/issues/1820 In apisix core.request it only expose apis to get/set header, get remote ip. I wanna develop a plugin to check request signature is valid or not, How to get request body and url

[GitHub] [incubator-apisix] UnderTreeTech commented on issue #1820: request help: how to get request body and url parameters

2020-07-08 Thread GitBox
UnderTreeTech commented on issue #1820: URL: https://github.com/apache/incubator-apisix/issues/1820#issuecomment-655534394 I think it's better to expose apis to get body and url parameters in core.request. Users can start to develop quickly based on apisix. @membphis

[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
juzhiyuan commented on pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#issuecomment-655564820 > Add a commit-msg checker > > Resolves #140 > > @juzhiyuan Can you test this on Mac? Not yet. I switched to Windows those days..

[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on a change in pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
Rapiz1 commented on a change in pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#discussion_r451602355 ## File path: scripts/verifyCommit.js ## @@ -0,0 +1,44 @@ +/* +The MIT License (MIT) + +Copyright (c) 2018-present, Yuxi (Evan) You +

[GitHub] [incubator-apisix] membphis commented on issue #1820: request help: how to get request body and url parameters

2020-07-08 Thread GitBox
membphis commented on issue #1820: URL: https://github.com/apache/incubator-apisix/issues/1820#issuecomment-655593707 yes, that is better. welcome PR ^_^ This is an automated message from the Apache Git Service. To respond

[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
Rapiz1 commented on pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#issuecomment-655569824 > Not yet. I switched to Windows those days.. Not a big deal. This will probably works well on Mac according to

[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on a change in pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
juzhiyuan commented on a change in pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#discussion_r451600800 ## File path: scripts/verifyCommit.js ## @@ -0,0 +1,44 @@ +/* +The MIT License (MIT) + +Copyright (c) 2018-present, Yuxi (Evan) You +

[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on a change in pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
Rapiz1 commented on a change in pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#discussion_r451603611 ## File path: scripts/verifyCommit.js ## @@ -0,0 +1,44 @@ +/* +The MIT License (MIT) + +Copyright (c) 2018-present, Yuxi (Evan) You +

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1818: multi ssl bug

2020-07-08 Thread GitBox
membphis commented on a change in pull request #1818: URL: https://github.com/apache/incubator-apisix/pull/1818#discussion_r451637246 ## File path: apisix/http/router/radixtree_sni.lua ## @@ -159,7 +158,7 @@ function _M.match_and_set(api_ctx) local sni_rev = sni:reverse()

[GitHub] [incubator-apisix] membphis merged pull request #1814: image: update the text of DP and CP.

2020-07-08 Thread GitBox
membphis merged pull request #1814: URL: https://github.com/apache/incubator-apisix/pull/1814 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[incubator-apisix] branch master updated: doc: update the text of DP and CP. (#1814)

2020-07-08 Thread membphis
This is an automated email from the ASF dual-hosted git repository. membphis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git The following commit(s) were added to refs/heads/master by this push: new a4c3c0f doc: update the text of DP

[GitHub] [incubator-apisix] spacewander commented on a change in pull request #1816: bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive

2020-07-08 Thread GitBox
spacewander commented on a change in pull request #1816: URL: https://github.com/apache/incubator-apisix/pull/1816#discussion_r451904860 ## File path: apisix/plugins/proxy-rewrite.lua ## @@ -153,10 +154,20 @@ function _M.rewrite(conf, ctx) end end -

[GitHub] [incubator-apisix] nic-chen commented on a change in pull request #1818: multi ssl bug

2020-07-08 Thread GitBox
nic-chen commented on a change in pull request #1818: URL: https://github.com/apache/incubator-apisix/pull/1818#discussion_r451909297 ## File path: .travis/osx_openresty_runner.sh ## @@ -23,8 +23,8 @@ export_or_prefix() { } before_install() { -HOMEBREW_NO_AUTO_UPDATE=1

[GitHub] [incubator-apisix] moonming commented on a change in pull request #1818: multi ssl bug

2020-07-08 Thread GitBox
moonming commented on a change in pull request #1818: URL: https://github.com/apache/incubator-apisix/pull/1818#discussion_r451908370 ## File path: .travis/osx_openresty_runner.sh ## @@ -23,8 +23,8 @@ export_or_prefix() { } before_install() { -HOMEBREW_NO_AUTO_UPDATE=1

[GitHub] [incubator-apisix] moonming opened a new pull request #1822: CI: removed travis CI.

2020-07-08 Thread GitBox
moonming opened a new pull request #1822: URL: https://github.com/apache/incubator-apisix/pull/1822 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [incubator-apisix] membphis commented on pull request #1793: feature: using GitHub action for CI

2020-07-08 Thread GitBox
membphis commented on pull request #1793: URL: https://github.com/apache/incubator-apisix/pull/1793#issuecomment-655912271 @wingsjj many thx, merged This is an automated message from the Apache Git Service. To respond to the

[GitHub] [incubator-apisix] membphis commented on pull request #1822: CI: removed travis CI.

2020-07-08 Thread GitBox
membphis commented on pull request #1822: URL: https://github.com/apache/incubator-apisix/pull/1822#issuecomment-655913056 We can merge this PR after 3-5 days. We need to confirm that GitHub action CI is running steadily.

[GitHub] [incubator-apisix] DHB-liuhong commented on pull request #1819: separate prometheus and access log

2020-07-08 Thread GitBox
DHB-liuhong commented on pull request #1819: URL: https://github.com/apache/incubator-apisix/pull/1819#issuecomment-655917700 ok This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [incubator-apisix] DHB-liuhong closed pull request #1819: separate prometheus and access log

2020-07-08 Thread GitBox
DHB-liuhong closed pull request #1819: URL: https://github.com/apache/incubator-apisix/pull/1819 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1816: bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive

2020-07-08 Thread GitBox
membphis commented on a change in pull request #1816: URL: https://github.com/apache/incubator-apisix/pull/1816#discussion_r451913029 ## File path: apisix/plugins/proxy-rewrite.lua ## @@ -153,10 +154,20 @@ function _M.rewrite(conf, ctx) end end -

[GitHub] [incubator-apisix] wrl96 commented on a change in pull request #1816: bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive

2020-07-08 Thread GitBox
wrl96 commented on a change in pull request #1816: URL: https://github.com/apache/incubator-apisix/pull/1816#discussion_r451924979 ## File path: apisix/plugins/proxy-rewrite.lua ## @@ -153,10 +154,20 @@ function _M.rewrite(conf, ctx) end end -upstream_uri =

[GitHub] [incubator-apisix-dashboard] tiger333777 opened a new issue #300: About SSL certificate cannot be enabled in the new version of dashboard

2020-07-08 Thread GitBox
tiger333777 opened a new issue #300: URL: https://github.com/apache/incubator-apisix-dashboard/issues/300 After the SSL certificate is started in the dashboard, switch to another page and return. SSL is not enabled again

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1816: bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive

2020-07-08 Thread GitBox
membphis commented on a change in pull request #1816: URL: https://github.com/apache/incubator-apisix/pull/1816#discussion_r451936133 ## File path: apisix/plugins/proxy-rewrite.lua ## @@ -153,10 +154,20 @@ function _M.rewrite(conf, ctx) end end -

[GitHub] [incubator-apisix] membphis commented on issue #1821: request help: route+rewrite+multi-upstream

2020-07-08 Thread GitBox
membphis commented on issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821#issuecomment-655869410 please make a try: ```shell curl -i http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "uri":

[GitHub] [incubator-apisix] jackwoods commented on issue #1821: request help: route+rewrite+multi-upstream

2020-07-08 Thread GitBox
jackwoods commented on issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821#issuecomment-655871370 The other question is: when proxy pass to upstream, some times we need to change the header host to the upstream host, seems not easy to do it.

[GitHub] [incubator-apisix] membphis commented on issue #1821: request help: route+rewrite+multi-upstream

2020-07-08 Thread GitBox
membphis commented on issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821#issuecomment-655874083 > I have a question about the route id, we always need to specified it? > In the admin panel, if I create a route, then the id will be auto-generated. you can

[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on a change in pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
Rapiz1 commented on a change in pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#discussion_r451946124 ## File path: scripts/verifyCommit.js ## @@ -0,0 +1,44 @@ +/* +The MIT License (MIT) + +Copyright (c) 2018-present, Yuxi (Evan) You +

[GitHub] [incubator-apisix] wrl96 commented on a change in pull request #1816: bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive

2020-07-08 Thread GitBox
wrl96 commented on a change in pull request #1816: URL: https://github.com/apache/incubator-apisix/pull/1816#discussion_r451948319 ## File path: apisix/plugins/proxy-rewrite.lua ## @@ -153,10 +154,20 @@ function _M.rewrite(conf, ctx) end end -upstream_uri =

[GitHub] [incubator-apisix] membphis commented on a change in pull request #1818: multi ssl bug

2020-07-08 Thread GitBox
membphis commented on a change in pull request #1818: URL: https://github.com/apache/incubator-apisix/pull/1818#discussion_r451913826 ## File path: t/router/radixtree-sni.t ## @@ -951,7 +951,7 @@ connected: 1 failed to do SSL handshake: certificate host mismatch ---

[GitHub] [incubator-apisix] DHB-liuhong commented on pull request #1819: separate prometheus and access log

2020-07-08 Thread GitBox
DHB-liuhong commented on pull request #1819: URL: https://github.com/apache/incubator-apisix/pull/1819#issuecomment-655853292 I think it is need to separate prometheus and access log,it is good for analysing log. This

[GitHub] [incubator-apisix] jackwoods opened a new issue #1821: request help: 路由+rewrite+multi-upstream

2020-07-08 Thread GitBox
jackwoods opened a new issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821 ### Issue description 请教个问题,我有个具体需求,就是路由叫/search/api, 有2个upstream 10.10.10.1:, 10.10.10.2:, 需要rewrite:["^/search/api(.*)$","$1"],这种情况下如何在1.3完成这个配置(最佳实践)?多谢! ### Environment

[GitHub] [incubator-apisix] membphis commented on pull request #1819: separate prometheus and access log

2020-07-08 Thread GitBox
membphis commented on pull request #1819: URL: https://github.com/apache/incubator-apisix/pull/1819#issuecomment-655866623 I do not think so. the `uri` is very different, it is easy to confirm if it is `prometheus` request.

[GitHub] [incubator-apisix] jackwoods commented on issue #1821: request help: route+rewrite+multi-upstream

2020-07-08 Thread GitBox
jackwoods commented on issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821#issuecomment-655870553 I have a question about the route id, we always need to specified it? In the admin panel, if I create a route, then the id will be auto-generated.

[GitHub] [incubator-apisix] jackwoods commented on issue #1821: request help: route+rewrite+multi-upstream

2020-07-08 Thread GitBox
jackwoods commented on issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821#issuecomment-655871944 The final question is, to make the upstream reusable, I'd better create an independent upstream, then change it in the admin panel?

[GitHub] [incubator-apisix] jackwoods edited a comment on issue #1821: request help: route+rewrite+multi-upstream

2020-07-08 Thread GitBox
jackwoods edited a comment on issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821#issuecomment-655871370 Another question is: when proxy pass to upstream, some times we need to change the header host to the upstream host, seems not easy to do it.

[GitHub] [incubator-apisix] jackwoods edited a comment on issue #1821: request help: route+rewrite+multi-upstream

2020-07-08 Thread GitBox
jackwoods edited a comment on issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821#issuecomment-655871370 Another question is: when proxy pass to upstream, sometimes we need to change the header host to the upstream host, seems not easy to do it.

[GitHub] [incubator-apisix] membphis commented on issue #1821: request help: route+rewrite+multi-upstream

2020-07-08 Thread GitBox
membphis commented on issue #1821: URL: https://github.com/apache/incubator-apisix/issues/1821#issuecomment-655874642 > The final question is, to make the upstream reusable, I'd better create an independent upstream, then change it in the admin panel? you are right.

[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on a change in pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
Rapiz1 commented on a change in pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#discussion_r451945375 ## File path: scripts/verifyCommit.js ## @@ -0,0 +1,44 @@ +/* +The MIT License (MIT) + +Copyright (c) 2018-present, Yuxi (Evan) You +

[GitHub] [incubator-apisix-dashboard] Rapiz1 commented on a change in pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
Rapiz1 commented on a change in pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#discussion_r451945375 ## File path: scripts/verifyCommit.js ## @@ -0,0 +1,44 @@ +/* +The MIT License (MIT) + +Copyright (c) 2018-present, Yuxi (Evan) You +

[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on a change in pull request #299: Add a commit-msg checker

2020-07-08 Thread GitBox
juzhiyuan commented on a change in pull request #299: URL: https://github.com/apache/incubator-apisix-dashboard/pull/299#discussion_r451945022 ## File path: scripts/verifyCommit.js ## @@ -0,0 +1,44 @@ +/* +The MIT License (MIT) + +Copyright (c) 2018-present, Yuxi (Evan) You +

[incubator-apisix] branch master updated: feature: using GitHub action for CI (#1793)

2020-07-08 Thread wenming
This is an automated email from the ASF dual-hosted git repository. wenming pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git The following commit(s) were added to refs/heads/master by this push: new 0e517a2 feature: using GitHub

[GitHub] [incubator-apisix] moonming merged pull request #1793: feature: using GitHub action for CI

2020-07-08 Thread GitBox
moonming merged pull request #1793: URL: https://github.com/apache/incubator-apisix/pull/1793 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [incubator-apisix] moonming closed issue #1789: bug: The test case does not take into account tengine

2020-07-08 Thread GitBox
moonming closed issue #1789: URL: https://github.com/apache/incubator-apisix/issues/1789 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to