-
Notifications
You must be signed in to change notification settings - Fork 3.1k
The spring boot admin (3.4.4, 3.4.5) server does not support the settings of [server. server. context path], [spring. mvc. server. path], and [spring. boot. admin. context path] #4218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Server related settingsserver: spring boot admin server settingsspring: management: |
I'm studying Spring Boot Admin, and according to my study habits, I will try my best to configure all available configurations and label the purpose of the configurations. Therefore, there will be many default contents in the above configurations. Please forgive me |
In the springboot project, when configuring any one, two, or three of [server. server. context path], [spring. mvc. server. path], and [spring. boot. admin. context path], after docking with Spring Boot Admin, The URL for the Spring Boot Admin console is【 http://IP: ${server. port} ${server. rvlet. context path} ${spring. mvc. servlet. path} ${spring. boot. admin. context path}], but when refreshing the application registration list, the browser checks the console and the requested URL is [http://IP: ${server. port}/applications], which is not concatenated with [${server. port} ${server. rvlet. context path} ${spring. mvc. servlet. path}] |
Hi @Lucifer-Z, You want the Admin server to run with a context path? Or the monitored instance? Is the context path defined outide of your application or do you want to define it within the application? Also your formatting is very hard to read. Please use the For the client instance, there are some samples here: https://github.com/erikpetzold/sba-client-demo-apps (but not covering context paths for the server) There is also a sample for running behind a proxy with different context paths here: https://github.com/codecentric/spring-boot-admin-runtime-playground/tree/main/nginx |
Hi, @erikpetzold The above solution relies on nginx's reverse proxy,Can solve my needs. Although,I originally hoped to rely solely on the configuration of SpringBootAdmin to meet the needs of using the context path |
Spring Boot Admin Server information
Version:
3.4.5
Spring Boot version:
3.4.4
Configured Security:
basic auth
Webflux or Servlet application:
servlet(spring boot web)
Client information
Spring Boot versions:
3.4.4
Used discovery mechanism:
self
Webflux or Servlet application:
servlet(spring boot web)
Description
The text was updated successfully, but these errors were encountered: