Commit 3ec5c9c4 by Administrator

Update techhero-framework-gateway-local.yml

parent dfaddf94
spring: spring:
redis: redis:
database: 10 database: 10
host: 119.96.87.17 host: test-env
port: 6379 port: 6379
password: techhero password: techhero
timeout: 5000 timeout: 0
pool: pool:
max-active: 8 max-active: 8
max-wait: -1 max-wait: -1
max-idle: 8 max-idle: 8
min-idle: 0 min-idle: 0
gateway:
discovery:
locator:
enabled: true
lower-case-service-id: true
# routes: #配置路由路径
# - id: echhero-examsite-auth
# uri: lb://techhero-examsite-auth
# predicates:
# - Path=/auth/**
# filters:
# - StripPrefix=1
# - id: demo
# uri: lb://demo
# predicates:
# - Path=/api/**
# filters:
# - StripPrefix=1
# - id: techhero-project-verification
# uri: lb://techhero-project-verification
# predicates:
# - Path=/verification/**
# filters:
# - StripPrefix=1
# - id: techhero-component-task
# uri: lb://techhero-component-task
# predicates:
# - Path=/task/task/**
# filters:
# - StripPrefix=1
# - id: techhero-examsite-system
# uri: lb://techhero-examsite-system
# predicates:
# - Path=/system/**
# filters:
# - StripPrefix=1
http:
multipart:
enabled: true
file-size-threshold: 1000Mb
max-file-size: 2048Mb
max-request-size: 2048Mb
server:
tomcat:
basedir: /Users/wwq/Desktop/tomcat
# 放行白名单
secure:
ignore:
urls: #配置白名单路径
- /actuator/**
- /auth/**
- /auth/hello
- /socket/**
- /task/**
- /gateway/**
- /route/**
jwt:
jwk-set-uri: 'http://localhost:15804/rsa/publicKey' #配置RSA的公钥访问地址
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment