61 lines
1.7 KiB
YAML
61 lines
1.7 KiB
YAML
|
|
# ============================================================
|
|||
|
|
# aida-gateway - 本地配置(不区分环境)
|
|||
|
|
# 公共配置(DB、Redis、RabbitMQ、MinIO、API Keys 等)由 Nacos 统一管理
|
|||
|
|
# ============================================================
|
|||
|
|
|
|||
|
|
server:
|
|||
|
|
port: 5569
|
|||
|
|
|
|||
|
|
spring:
|
|||
|
|
application:
|
|||
|
|
name: aida-gateway
|
|||
|
|
|
|||
|
|
# ---------- Gateway JWT 认证(gateway 独有) ----------
|
|||
|
|
gateway:
|
|||
|
|
auth:
|
|||
|
|
jwt-secret: ${BACK_JWT_SECRET:JWTSECRET}
|
|||
|
|
jwt-token-header: Authorization
|
|||
|
|
jwt-token-prefix: Bearer-
|
|||
|
|
blacklist-enabled: true
|
|||
|
|
ignore-paths:
|
|||
|
|
- /favicon.ico
|
|||
|
|
- /doc.html
|
|||
|
|
- /swagger-ui.html
|
|||
|
|
- /swagger-ui/**
|
|||
|
|
- /swagger-resources/**
|
|||
|
|
- /v2/api-docs
|
|||
|
|
- /v3/api-docs/**
|
|||
|
|
- /webjars/**
|
|||
|
|
- /api/account/login
|
|||
|
|
- /api/account/preLogin
|
|||
|
|
- /api/designer/check
|
|||
|
|
- /actuator/**
|
|||
|
|
- /internal/**
|
|||
|
|
- /api/account/sendEmail
|
|||
|
|
- /api/account/noLoginRequired
|
|||
|
|
- /api/account/resetPwd
|
|||
|
|
- /api/account/designWorksRegister
|
|||
|
|
- /api/account/questionnaire
|
|||
|
|
- /api/account/schoolLogin
|
|||
|
|
- /api/account/enterpriseLogin
|
|||
|
|
- /api/account/organizationNameSearch
|
|||
|
|
- /api/account/activateNewEmail
|
|||
|
|
- /api/python/saveGeneratePicture
|
|||
|
|
- /api/python/getLibraryByUserId
|
|||
|
|
- /api/python/flush
|
|||
|
|
- /api/account/healthy
|
|||
|
|
- /api/third/party/**
|
|||
|
|
- /api/element/initDefaultSysFile
|
|||
|
|
- /api/ali-pay/trade/notify
|
|||
|
|
- /api/paypal/ipn/back
|
|||
|
|
- /api/alipay-hk/trade/notify
|
|||
|
|
- /api/stripe/trade/notify
|
|||
|
|
- /api/portfolio/**
|
|||
|
|
- /api/global-award/**
|
|||
|
|
- /api/llm/stream
|
|||
|
|
- /notification/**
|
|||
|
|
|
|||
|
|
logging:
|
|||
|
|
level:
|
|||
|
|
com.aida.gateway: debug
|