是否可以更改Google Cloud Run的错误页面

huangapple go评论86阅读模式
英文:

Is it possible to change error page of Google Cloud Run

问题

目前在Google Cloudrun中,当访问服务受限时,它提供如下错误消息。是否可以像CloudFlare(https://support.cloudflare.com/hc/en-us/articles/200172706-Configuring-Custom-Pages-Error-and-Challenge-)那样自定义错误消息?
是否可以更改Google Cloud Run的错误页面

英文:

Currently in Google Cloudrun when a access to service is restricted it provides below error message. Is it possible to customize the error message as like CloudFlare (https://support.cloudflare.com/hc/en-us/articles/200172706-Configuring-Custom-Pages-Error-and-Challenge-)?
是否可以更改Google Cloud Run的错误页面

答案1

得分: 0

这个错误消息不是来自Cloud Run服务,而是在其之前的一个检查身份验证的部分(名为GFE - Google Front End)。

你不能自定义这部分。

英文:

This error message doesn't not come from Cloud Run service, but the bloc before, that check the authentication (named GFE - Google Front End).

You can't customise that part.

huangapple
  • 本文由 发表于 2023年3月7日 16:40:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/75659658.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定