Files
timeline-server/timeline-gateway-service/src/main/resources/application.properties

28 lines
796 B
Properties
Raw Normal View History

2025-08-12 19:01:26 +08:00
# application.properties
spring.application.name=timeline-gateway
server.port=30000
# ????
spring.cloud.gateway.routes[0].id=story-service
spring.cloud.gateway.routes[0].uri=lb://timeline.story
spring.cloud.gateway.routes[0].predicates[0]=Path=/story/**
spring.cloud.gateway.routes[0].filters[0]=StripPrefix=1
spring.cloud.gateway.routes[1].id=file-service
spring.cloud.gateway.routes[1].uri=lb://timeline.file
spring.cloud.gateway.routes[1].predicates[0]=Path=/file/**
spring.cloud.gateway.routes[1].filters[0]=StripPrefix=1
# JWT??
jwt.secret=timelineSecretKey
jwt.expiration=86400
# Actuator??
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
# ????
logging.level.org.springframework.cloud.gateway=DEBUG
logging.level.com.timeline.gateway=DEBUG