Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-guangxi-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-guangxi-config
Commits
570b935a
Commit
570b935a
authored
Jun 24, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update techhero-gateway-service.yml
parent
048b6f63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletions
+21
-1
techhero-gateway-service.yml
+21
-1
No files found.
techhero-gateway-service.yml
View file @
570b935a
...
...
@@ -64,8 +64,28 @@ swagger:
-
techhero-user-service
-
techhero-dlkkx-service
# 关闭默认路由
#zuul:
# ignoredServices: '*'
zuul
:
ignoredServices
:
'
*'
routes
:
score
:
path
:
/ksfw/score/**
serviceId
:
techhero-score-service
host
:
socket-timeout-millis
:
60000
connect-timeout-millis
:
60000
ratelimit
:
key-prefix
:
ksfwRequestLimit
enabled
:
true
repository
:
redis
#对应存储类型(用来存储统计信息)
behind-proxy
:
true
#代理之后
policy-list
:
score
:
-
limit
:
2
# 这种配置方式相当于:10分钟内允许5个请求访问/api/test/info接口
refresh-interval
:
60
type
:
-
url
notencrypt
:
reqUrls
:
-
/captcha
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment