Revert "fix 修复 monitor 设置 context-path 导致退出重新登录404问题"

This reverts commit d194b39e57e3d6caf5d76749ab1618e524f479a9.
This commit is contained in:
疯狂的狮子Li 2025-02-07 13:07:53 +08:00
parent a87071b834
commit 718a010c0f
6 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
spring.boot.admin.client:
# 增加客户端开关
enabled: true
url: http://localhost:9090
url: http://localhost:9090/admin
instance:
service-host-type: IP
metadata:

View File

@ -5,7 +5,7 @@ spring.servlet.multipart.location: /ruoyi/server/temp
spring.boot.admin.client:
# 增加客户端开关
enabled: true
url: http://localhost:9090
url: http://localhost:9090/admin
instance:
service-host-type: IP
metadata:

View File

@ -19,6 +19,7 @@ spring:
admin:
ui:
title: RuoYi-Vue-Plus服务监控中心
context-path: /admin
--- # Actuator 监控端点的配置项
management:
@ -37,7 +38,7 @@ spring.boot.admin.client:
# 增加客户端开关
enabled: true
# 设置 Spring Boot Admin Server 地址
url: http://localhost:9090
url: http://localhost:9090/admin
instance:
service-host-type: IP
metadata:

View File

@ -43,7 +43,7 @@ snail-job:
spring.boot.admin.client:
# 增加客户端开关
enabled: true
url: http://localhost:9090
url: http://localhost:9090/admin
instance:
service-host-type: IP
metadata:

View File

@ -43,7 +43,7 @@ snail-job:
spring.boot.admin.client:
# 增加客户端开关
enabled: true
url: http://localhost:9090
url: http://localhost:9090/admin
instance:
service-host-type: IP
metadata:

View File

@ -96,7 +96,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://monitor-admin/;
proxy_pass http://monitor-admin/admin/;
}
location /snail-job/ {