我有一个使用 GCP 负载平衡器和 GCP 存储作为后端服务配置的网站。
现在是什么:
https://example.com/#/ --> works
https://example.com/#/path --> works
我想要的是:
https://example.com/#/ 但在后端它应该点击/#/path。
我尝试过使用 GCP 路径映射,host and path rules
但符号#
导致问题。它在浏览器中转换#
为%23
并说key not found
。
任何的想法?