Appendix A: Common application properties

可以在application.properties文件内、文件内application.yml或作为命令行开关指定各种属性。本附录提供了常见 Spring Cloud Gateway 属性的列表以及对使用它们的底层类的引用。

属性贡献可以来自类路径上的其他 jar 文件,因此您不应认为这是一个详尽的列表。此外,您可以定义自己的属性。

名称默认值描述
spring.cloud.gateway.default-filters应用于每个路由的过滤器定义列表。
spring.cloud.gateway.discovery.locator.enabledfalse启用 DiscoveryClient 网关集成的标志。
content1content2content3
content1content2content3
content1content2content3
content1content2content3
content1content2content3