I\'ve been trying to find a way to set the context path for a webflux application. I know I can configure it using
server.servlet.context-path
According to this
There is servlet in the name of the property which should be a hint that won't work with webflux.
With springboot v2.3, you can put this in your properties file
spring.webflux.base-path=/your-path
release-notes reference: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.3-Release-Notes#configurable-base-path-for-webflux-applications