You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/13 12:21:29 UTC
[GitHub] [apisix] ynsdl opened a new issue, #7872: help request: limit-req based on specific header
ynsdl opened a new issue, #7872:
URL: https://github.com/apache/apisix/issues/7872
### Description
I want to use control rest traffic based on specific request header value.
I have an header which name is X-yunus-api-key and I generate uniq value for this api-key for all my customers.
I want to limit requests based on X-yunus-api-key' values.
for example ;
1 customer's X-yunus-api-key: xxx
2 customer's X-yunus-api-key: yyy
3 customer's X-yunus-api-key: zzz
4 customer's X-yunus-api-key: ttt
scenario;
limit-req rate: 5 for xxx
limit-req rate: 10 for yyy
dont limit req for ttt and zzz
and I have more than a hundered X-yunus-api-key. if I want to use key-auth plugin, I have to define all my api keys as a customers. But ı dont want to do that. Because our system can generate a new X-yunus-api-key for a new customer. I cant track it constantly.
### Environment
- APISIX version (run `apisix version`): 2.15.0
- Operating system (run `uname -a`): Linux devops02 3.10.0-693.el7.x86_64
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): 3.4.0
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`): /usr/local/bin/luarocks 3.8.0
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1348427368
@kingluo if api_key includes " - " character, rate-limit doesn't work for this api_key in serverless plugin.
forexamle;
local limits = {xx-x=1, yyy=50}
xx-x doesn't affected by limit 1,
yyy is affected by limit 50
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1239492379
we can use apisix dev images: https://hub.docker.com/r/apache/apisix/tags?page=1&name=dev
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl closed issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl closed issue #7872: help request: limit-req based on specific header
URL: https://github.com/apache/apisix/issues/7872
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1239426085
@ynsdl Why did you send request directly to `https://example.com` but not apisix?
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl closed issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl closed issue #7872: help request: limit-req based on specific header
URL: https://github.com/apache/apisix/issues/7872
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1241671228
@kingluo Thank you.
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1238839412
@ynsdl
Another solution is to use serverless:
```bash
curl http://127.0.0.1:9180/apisix/admin/routes/test_multi_limit_req -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"uri": "/get",
"plugins": {
"serverless-pre-function": {
"phase": "access",
"functions" : ["local lr = require(\"apisix.plugins.limit-req\"); local limits = {xxx=1, yyy=1}; return function(conf, ctx) if ctx.var.http_x_yunus_api_key and limits[ctx.var.http_x_yunus_api_key] then local rate = limits[ctx.var.http_x_yunus_api_key]; return lr.access({rate = rate, burst = rate, rejected_code = 503, key_type = \"var\", key = \"http_x_yunus_api_key\"}, ctx); end; end"]
}
},
"upstream": {
"type": "roundrobin",
"nodes": {
"httpbin.org": 1
}
}
}'
```
Here you could adjust `limits` table in the code to fit your need.
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1350265538
> if api_key includes " - " character, rate-limit doesn't work for this api_key in serverless plugin.
pls open a new issue to describe your problem
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1240321854
@tzssangglass https://hub.docker.com/r/apache/apisix/tags?page=1&name=dev returns error.

--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1241652593
@ynsdl No performance overhead by serverless-pre-function.
For the time being, workflow plugin doesn't support limit-req yet, so I think serverless-pre-function is the only way.
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1240459388
> @kingluo if I use function which shared with me in below, apisix return http 500 all my requests.
>
> `["local lr = require(\"apisix.plugins.limit-req\"); local limits = {xxx=1, yyy=50}; return function(conf, ctx) if ctx.var.http_X-netmera_api_key and limits[ctx.var.http_X-netmera_api_key] then ctx.conf_id = ctx.conf_id .. \"&\" .. ctx.var.http_X-netmera_api_key; local rate = limits[ctx.var.http_X-netmera_api_key]; return lr.access({rate = rate, burst = rate, rejected_code = 503, key_type = \"var\", key = \"http_X-netmera_api_key\"}, ctx); end; end"]`
How did you configure apisix?
I test it in my local env.
Could you provide error.log?
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1239131812
@kingluo set up apisix from source. Workflow plugin doesnt seems on dashboard.
is there any way to load workflow plugin.
and also workflow doesnt seem in config.yaml. I added at the end of line and restart apisix dashboard but didnt change anything.
plugins: # plugin list (sorted in alphabetical order)
- api-breaker
- authz-keycloak
- basic-auth
- batch-requests
- consumer-restriction
- cors
# - dubbo-proxy
- echo
# - error-log-logger
# - example-plugin
- fault-injection
- grpc-transcode
- hmac-auth
- http-logger
- ip-restriction
- jwt-auth
- kafka-logger
- key-auth
- limit-conn
- limit-count
- limit-req
# - log-rotate
# - node-status
- openid-connect
- prometheus
- proxy-cache
- proxy-mirror
- proxy-rewrite
- redirect
- referer-restriction
- request-id
- request-validation
- response-rewrite
- serverless-post-function
- serverless-pre-function
# - skywalking
- sls-logger
- syslog
- tcp-logger
- udp-logger
- uri-blocker
- wolf-rbac
- zipkin
- server-info
- traffic-split
- workflow
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1350304665
> @kingluo if api_key includes " - " character, rate-limit doesn't work for this api_key in serverless plugin.
>
> forexamle;
>
> local limits = {xx-x=1, yyy=50}
>
> xx-x doesn't affected by limit 1, yyy is affected by limit 50
@ynsdl `xx-x` is not a valid lua variable name, so use brackets to wrap it, i.e. `local limits = {["xx-x"]=1, yyy=50}`
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1239464981
@ynsdl I made a mistake. I did not update the `conf_id`.
Here is the updated route config, it should work. Please try it again.
```bash
curl http://127.0.0.1:9080/apisix/admin/routes/test_multi_limit_req -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"uri": "/get",
"plugins": {
"serverless-pre-function": {
"phase": "access",
"functions" : ["local lr = require(\"apisix.plugins.limit-req\"); local limits = {xxx=1, yyy=10000}; return function(conf, ctx) if ctx.var.http_x_yunus_api_key and limits[ctx.var.http_x_yunus_api_key] then ctx.conf_id = ctx.conf_id .. \"&\" .. ctx.var.http_x_yunus_api_key; local rate = limits[ctx.var.http_x_yunus_api_key]; return lr.access({rate = rate, burst = rate, rejected_code = 503, key_type = \"var\", key = \"http_x_yunus_api_key\"}, ctx); end; end"]
}
},
"upstream": {
"type": "roundrobin",
"nodes": {
"httpbin.org": 1
}
}
}'
```
However, it does hack the apisix. So it's better to use workflow plugin, but you must build apisix from source, configurer it in config.yaml, and it doesn't support dashboard yet. @tzssangglass
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1241632063
@kingluo When ı saw error.log, I realized my mistake. fixed it. it works now correctly.
Our traffic is 20000 - 30000 TPS. Which solution do you offer ? serverless-pre-function or workflow.
Does serverless-pre-function create performance problem ?
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1240351117
@kingluo if I use function which shared with me in below, apisix return http 500 all my requests.
`["local lr = require(\"apisix.plugins.limit-req\"); local limits = {xxx=1, yyy=50}; return function(conf, ctx) if ctx.var.http_X-netmera_api_key and limits[ctx.var.http_X-netmera_api_key] then ctx.conf_id = ctx.conf_id .. \"&\" .. ctx.var.http_X-netmera_api_key; local rate = limits[ctx.var.http_X-netmera_api_key]; return lr.access({rate = rate, burst = rate, rejected_code = 503, key_type = \"var\", key = \"http_X-netmera_api_key\"}, ctx); end; end"]`
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1238206853
it returns {"error_msg":"unknown plugin [workflow]"}
How can enable this plugin ?
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1238235005
It's only available in master branch.
I'm afraid you have to setup apisix from source.
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1239316413
@kingluo I tried serverless but I think it not working correctly.
when I make yyy limit 100, xxx also affect from this limit. I assume that xxx should affect own limit. yyy limit shouldnt affect xxx limit
`"functions" : ["local lr = require(\"apisix.plugins.limit-req\"); local limits = {xxx=1, yyy=100}; return function(conf, ctx) if ctx.var.http_x_yunus_api_key and limits[ctx.var.http_x_yunus_api_key] then local rate = limits[ctx.var.http_x_yunus_api_key]; return lr.access({rate = rate, burst = rate, rejected_code = 503, key_type = \"var\", key = \"http_x_yunus_api_key\"}, ctx); end; end"]`
xxx limit is 1 but there is no failed transaction.
```
siege -t4s -c15 --content-type "application/json" -H 'X-yunus-api-key: xxx' 'https://example.com'
Lifting the server siege...
Transactions: 97 hits
Availability: 100.00 %
Elapsed time: 2.69 secs
Data transferred: 0.02 MB
Response time: 0.28 secs
Transaction rate: 36.06 trans/sec
Throughput: 0.01 MB/sec
Concurrency: 10.14
Successful transactions: 104
Failed transactions: 0
Longest transaction: 0.38
Shortest transaction: 0.23
```
yyy limit 100. it seems ok.
```
siege -t4s -c15 --content-type "application/json" -H 'X-yunus-api-key: yyy' 'https://example.com'
Lifting the server siege...
Transactions: 79 hits
Availability: 100.00 %
Elapsed time: 2.18 secs
Data transferred: 0.01 MB
Response time: 0.27 secs
Transaction rate: 36.24 trans/sec
Throughput: 0.01 MB/sec
Concurrency: 9.93
Successful transactions: 81
Failed transactions: 0
Longest transaction: 0.38
Shortest transaction: 0.24
```
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1237967373
@ynsdl
With workflow plugin, you could implement your logic.
https://github.com/apache/apisix/blob/47187faccd96d02773fb1c71980c8ca0ea838d6a/docs/en/latest/plugins/workflow.md
For example:
```json
{
"case":[
["http_x_yunus_api_key", "==", "xxx"]
],
"actions":[
[
"limit-req": {
"rate": 5,
"burst": 10,
"rejected_code": 503,
"key_type": "var",
"key": "http_x_yunus_api_key"
}
]
]
}
```
However, currently, it only supports limit-conn, we may integrate limit-req into workflow plugin later.
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1240332463
@kingluo I have builded apisix from source and create a yunus-config.yaml and start apisix with this command
`bin/apisix start -c conf/yunus-config.yaml`
Apisix started clearly but try to create a route with workflow it returns {"error_msg":"unknown plugin [workflow]"} again.
```
curl http://127.0.0.1:9080/apisix/admin/routes/test_multi_limit_req \
-H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"uri":"/*",
"plugins":{
"workflow":{
"rules":[
{
"case":[
["http_X-yunus-api-key", "==", "xxx"]
],
"actions":[
[
"return",
{"code": 429}
]
]
}
]
}
},
"upstream":{
"type":"roundrobin",
"nodes":{
"1.3.1.1:8080":1
}
}
}'
```
yunus-config.yaml
```
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If you want to set the specified configuration value, you can set the new
# in this file. For example if you want to specify the etcd address:
#
etcd:
host:
- http://127.0.0.1:2379
#
# To configure via environment variables, you can use `${{VAR}}` syntax. For instance:
#
# etcd:
# host:
# - http://${{ETCD_HOST}}:2379
#
# And then run `export ETCD_HOST=$your_host` before `make init`.
#
# If the configured environment variable can't be found, an error will be thrown.
#
# Also, If you want to use default value when the environment variable not set,
# Use `${{VAR:=default_value}}` instead. For instance:
#
# etcd:
# host:
# - http://${{ETCD_HOST:=localhost}}:2379
#
# This will find environment variable `ETCD_HOST` first, and if it's not exist it will use `localhost` as default value.
#
apisix:
admin_key:
- name: admin
key: edd1c9f034335f136f87ad84b625c8f1 # using fixed API token has security risk, please update it when you deploy to production environment
role: admin
apisix:
node_listen: 8000
allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
- 0.0.0.0/0 # We need to restrict ip access rules for security. 0.0.0.0/0 is for test.
plugins:
- workflow
```
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1350647541
@kingluo thanks for your help.
A small note: it works with backslash **" \ "**. Otherwise it returns "invalid Json"
`local limits = {[\"xx-x\"]=1, yyy=50}`
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kingluo commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
kingluo commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1239204540
@ynsdl workflow is a new plugin, it may not be managed by dashboard.
Could you try serverless way first?
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1239429394
There is an nginx in front of apisix. I make proxy_pass from nginx to apisix. So first request sent to nginx and nginx send request to apisix.
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ynsdl commented on issue #7872: help request: limit-req based on specific header
Posted by GitBox <gi...@apache.org>.
ynsdl commented on issue #7872:
URL: https://github.com/apache/apisix/issues/7872#issuecomment-1238969832
Thank you. I will try these solutions.
--
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 go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org