spring: profiles: local security: oauth2: resourceserver: jwt: jwk-set-uri: 'http://localhost:15804/rsa/publicKey' #配置RSA的公钥访问地址 redis: redis: database: 10 host: 119.96.87.17 port: 6379 password: techhero timeout: 5000 pool: max-active: 8 max-wait: -1 max-idle: 8 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 eureka: instance: ip-address: 127.0.0.1 prefer-ip-address: true lease-renewal-interval-in-seconds: 5 lease-expiration-duration-in-seconds: 20 client: serviceUrl: defaultZone: http://techhero:techhero123@127.0.0.1:15801/eureka registry-fetch-interval-seconds: 80 server: tomcat: basedir: /Users/wwq/Desktop/tomcat # 放行白名单 secure: ignore: urls: #配置白名单路径 - /actuator/** - /auth/** - /auth/hello - /socket/** - /task/** - /gateway/** - /route/**