huodongdong 7 years ago
parent
commit
139808bd1a
3 changed files with 13 additions and 4 deletions
  1. 8 2
      dev/api-web-dev.properties
  2. 4 1
      prod/api-web-prod.properties
  3. 1 1
      prod/cms-web-prod.properties

+ 8 - 2
dev/api-web-dev.properties

@@ -1,7 +1,13 @@
 eureka.client.service-url.defaultZone=http://discovery.rankin.com:8821/eureka/
 
-service.product.name=product-service
+request.header.ignore_path=token
 
+## redis 配置
 spring.redis.host=localhost
 spring.redis.port=6379
-current.test.name=dev
+spring.redis.timeout=3000
+spring.redis.pool.max-idle=8
+spring.redis.pool.min-idle=0
+spring.redis.pool.max-active=8
+spring.redis.pool.max-wait=-1
+spring.redis.key.prefix=api/web

+ 4 - 1
prod/api-web-prod.properties

@@ -2,7 +2,7 @@
 eureka.client.service-url.defaultZone=http://discovery.rankin.com:8821/eureka/
 
 ## redis 配置
-spring.redis.host= r-2ze3b84e6309c7d4.redis.rds.aliyuncs.com
+spring.redis.host=r-2ze3b84e6309c7d4.redis.rds.aliyuncs.com
 spring.redis.port=6379
 spring.redis.password=Lingj20170915
 spring.redis.timeout=3000
@@ -11,3 +11,6 @@ spring.redis.pool.min-idle=0
 spring.redis.pool.max-active=8
 spring.redis.pool.max-wait=-1
 spring.redis.key.prefix=api/web
+
+# header ignore path
+request.header.ignore_path=/token,

+ 1 - 1
prod/cms-web-prod.properties

@@ -22,7 +22,7 @@ cms.threadPoolAsyncTaskExecutor.thread.size=16
 #logging.level.root=debug
 
 ## redis 配置
-spring.redis.host= r-2ze3b84e6309c7d4.redis.rds.aliyuncs.com
+spring.redis.host=r-2ze3b84e6309c7d4.redis.rds.aliyuncs.com
 spring.redis.port=6379
 spring.redis.password=Lingj20170915
 spring.redis.timeout=3000