【修改】去除请求跟踪和tomcat信息监控的后端
【修改】各端口配置完备
This commit is contained in:
+8
-8
@@ -91,13 +91,13 @@ public class WebMvcConfiguration implements WebMvcConfigurer {
|
||||
converters.add(jackson2HttpMessageConverter);
|
||||
}
|
||||
|
||||
/**
|
||||
* SpringBootAdmin的Httptrace不见了
|
||||
* https://blog.csdn.net/u013810234/article/details/110097201
|
||||
*/
|
||||
@Bean
|
||||
public InMemoryHttpTraceRepository getInMemoryHttpTrace(){
|
||||
return new InMemoryHttpTraceRepository();
|
||||
}
|
||||
// /**
|
||||
// * SpringBootAdmin的Httptrace不见了
|
||||
// * https://blog.csdn.net/u013810234/article/details/110097201
|
||||
// */
|
||||
// @Bean
|
||||
// public InMemoryHttpTraceRepository getInMemoryHttpTrace(){
|
||||
// return new InMemoryHttpTraceRepository();
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ server:
|
||||
include-stacktrace: ALWAYS
|
||||
include-message: ALWAYS
|
||||
servlet:
|
||||
context-path: /jero-boot
|
||||
context-path: /
|
||||
compression:
|
||||
enabled: true
|
||||
min-response-size: 1024
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
server:
|
||||
port: 9999
|
||||
port: 8080
|
||||
spring:
|
||||
application:
|
||||
name: jero-gateway
|
||||
@@ -48,7 +48,7 @@ spring:
|
||||
statuses: BAD_GATEWAY,BAD_REQUEST
|
||||
#指定哪些方法的请求需要进行重试逻辑,默认值是 GET 方法
|
||||
methods: GET,POST
|
||||
# hystrix 信号量隔离,3秒后自动超时
|
||||
# hystrix 信号量隔离,10秒后自动超时
|
||||
hystrix:
|
||||
enabled: true
|
||||
shareSecurityContext: true
|
||||
|
||||
@@ -12,6 +12,10 @@ spring:
|
||||
environment: local
|
||||
security:
|
||||
user:
|
||||
|
||||
|
||||
|
||||
|
||||
name: "admin"
|
||||
password: "admin"
|
||||
application:
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
window._CONFIG = {}
|
||||
window._CONFIG['domianURL'] = '/jero-boot' // 路由转发 devServer
|
||||
window._CONFIG['domianWebSocketURL'] = 'http://localhost:9999'
|
||||
window._CONFIG['domianWebSocketURL'] = 'http://localhost:8080'
|
||||
// 单点登录地址
|
||||
window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/download'
|
||||
window._CONFIG['pdfDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/pdf/pdfPreviewIframe'
|
||||
|
||||
Reference in New Issue
Block a user