标签: 路径匹配

1 个内容

笔记(1)

Nginx Ingress Controller 启用严格路径类型验证导致`/openapi.json`无法使用`pathType: Exact`的问题,原因是路径包含点(.)等特殊字符。解决方案包括:使用`ImplementationSpecific`路径类型,使用正则表达式匹配,或禁用严格路径验证。推荐优先使用`ImplementationSpecific`。

Elliot Yang·
451 浏览