在这页上写着
云运行(完全托管)将所有HTTP请求重定向到HTTPS,但在TLS到达web服务之前终止TLS。
terminates TLS before they reach the web service我不太明白这是什么意思。web服务是指容器中的web应用程序?
我部署了云运行,用无服务器的NEG设置了一个负载均衡器。
http://example.com返回一个404。
https://example.com返回一个200。
从什么时候开始重定向?它不会自动重定向。
我只设法在应用程序级别重定向它。
云是如何运行重定向的?
我有一个spring云网关应用程序,我想要的是,如果有两条路由,那么在一条路由上,它应该重定向到某个外部应用程序,而对于另一条路由,它应该用特定的url将请求转发到同一个应用程序。
-id: my_local_route
predicates:
- Path="/services/local"
uri: "/mylocal/services/local" //can we do something like that
请注意,我想在与spring云网关相同的应用程序中创建rest服务。我知道这不是正确的方法,但据我所知,我想知道这是否可能。
我有一个主站点,下面有多个子域: so: example.com,products.example.com,books.example.com,等等。
我正在尝试创建一个重定向,比如: RedirectMatch 301 ^/products/catalog/(.*) //products.example.com/$1,但这不起作用,因为"products“是一个子目录/子域,所以它只是在//products.example.com上创建了一个重定向循环。
But This works (because /store isn't //store.example.com/)
Re