用户信息传到service
This commit is contained in:
@@ -2,12 +2,37 @@ apisix:
|
||||
node_listen: 9080
|
||||
enable_ipv6: false
|
||||
|
||||
redis:
|
||||
host: "39.106.171.204"
|
||||
port: 6379
|
||||
password: "lLMLcuPpzSj"
|
||||
db: 0
|
||||
|
||||
# HTTP七层插件
|
||||
plugins:
|
||||
- proxy-rewrite
|
||||
- cors
|
||||
- limit-req
|
||||
- serverless-pre-function
|
||||
- serverless-post-function
|
||||
|
||||
# 自定义四层stream插件列表,移除syslog,保留负载均衡、mqtt、限流等
|
||||
stream_plugins:
|
||||
- traffic-split
|
||||
- limit-conn
|
||||
- ip-restriction
|
||||
- mqtt-proxy
|
||||
|
||||
deployment:
|
||||
role: data_plane
|
||||
role_data_plane:
|
||||
config_provider: yaml
|
||||
|
||||
# http层共享字典(仅http使用)
|
||||
nginx_config:
|
||||
lua_package_path: "/usr/local/apisix/?.lua;;"
|
||||
lua_shared_dict:
|
||||
prometheus-metrics 10m
|
||||
prometheus-cache 10m
|
||||
standalone-config 10m
|
||||
upstream-healthcheck 10m
|
||||
Reference in New Issue
Block a user