【发布时间】:2020-08-22 07:45:22
【问题描述】:
我正在尝试为我的域配置入口重写规则,如下所示 https://example.com/?page=emailVerify&token=fhgfgfkhfkfkhfhjfhfhj&lang=en_US
到: https://example.com/my_api/?page=emailVerify&token=fhgfgfkhfkfkhfhjfhfhj&lang=en_US
我尝试使用注释,但它替换了整个查询字符串
nginx.ingress.kubernetes.io/app-root: /my_api/$1
【问题讨论】:
标签: nginx url-rewriting kubernetes-ingress nginx-ingress