There are two services:
account-service, gateway-server
After the account-service has set the 'server.forward- Headers - Strategy = Framework' property.routerFunction endpoint start 404
The following interfaces are accessed through the Spring Cloud Gateway
http://localhost:8080/account/hi is 404. The generated by RouterFunction endpoint
http://localhost:8080/account/hello return 200 normal, through RequestMapping annotations
Reproducible Example:
forward-proxy-demo.zip