The properties server.servlet.context-path=/somepath did not work with webflux netty container.

version:

<groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.3.RELEASE</version>

Comment From: yuanxuzhang

spring.webflux.base-path=/your-path