Commit 664c28af by 张宗强

update gateway config

parent 0b6f4947
...@@ -13,10 +13,16 @@ spring: ...@@ -13,10 +13,16 @@ spring:
sleuth: sleuth:
sampler: sampler:
percentage: 0.5 percentage: 0.5
http:
encoding:
charset: UTF-8
enabled: true
force: true
zuul: zuul:
servlet-path: / servlet-path: /zuul
ignoredServices: '*' ignoredServices: '*'
#ignoredPatterns: /, /**/swagger-ui.html/**
host: host:
connect-timeout-millis: 30000 connect-timeout-millis: 30000
socket-timeout-millis: 30000 socket-timeout-millis: 30000
...@@ -90,9 +96,9 @@ urls: ...@@ -90,9 +96,9 @@ urls:
- /swagger/api-docs - /swagger/api-docs
- /webjars/** - /webjars/**
- /aom/lesson/downloadZip/* - /aom/lesson/downloadZip/*
#- /zuul/aom/lesson/courseware/upload - /aom/tutorUptime/classAssign/statistics/exportExcel/*
- /ruser/** - /ruser/**
- /ruser/v1/ruserChannel/installRuser/** - /ruser/v1/ruserChannel/installRuser/**
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
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