简体   繁体   English

GCP应用程序在预览URL中部署

[英]GCP app deploy in preview URL

I started using Google Cloud Platform and been testing some things on it. 我开始使用Google Cloud Platform,并在上面进行了一些测试。 After deploying the web services ( node.js ), the GCP provides a URL which actually redirects to a preview URL. 部署了Web服务( node.js )之后,GCP提供了一个URL,该URL实际上会重定向到预览URL。 Ex- project.appspot.com to project.appspot-preview.com . project.appspot.comproject.appspot-preview.com Due to this, our client side throws 307 status code but not if I use the preview URL directly. 因此,我们的客户端抛出307状态代码,但是如果我直接使用预览URL则不会。 All I want to know is, is it safe to use the preview URL straight away or is there anyway to disable the forwarding? 我想知道的是,立即使用预览URL是安全的还是总有禁用转发的功能?

Need help, thanks in advance. 需要帮助,在此先感谢。

This is the current behavior of the latest GAE flex environment. 这是最新GAE flex环境的当前行为。 From Domain update : 域更新

Traffic is now served from the appspot-preview.com domain instead of the appspot.com domain. 现在,流量是从appspot-preview.com域而不是appspot.com域提供的。 All traffic from the App Engine flexible environment will be automatically redirected to the new domain. 来自App Engine灵活环境的所有流量都将自动重定向到新域。 All App Engine Standard traffic will continue to be through appspot.com . 所有App Engine Standard流量将继续通过appspot.com When the App Engine flexible environment is generally available (GA), users will be able to use the appspot.com or appspot-preview.com domains for routing traffic. 当App Engine灵活环境普遍可用(GA)时,用户将能够使用appspot.comappspot-preview.com域来路由流量。

For users who want to use the latest App Engine Flexible release with a custom domain, please fill out this form to contact us. 对于希望将最新的App Engine Flexible版本与自定义域一起使用的用户,请填写此表格与我们联系。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:(gcloud.preview.app.deploy) - ERROR: (gcloud.preview.app.deploy) 使用 GCP App Engine 部署内部 web 应用程序的选项 - Options to deploy internal web app using GCP App Engine 使用自定义启动命令将 NodeJS 应用程序部署到 GCP AppEngine - Deploy NodeJS app to GCP AppEngine with customize start command 如何仅将受影响的 nx 服务部署到 GCP APP Engine - How to deploy only an affected nx service to GCP APP Engine 如何在没有`gcloud app deploy`的情况下在GCP上部署Node.js express服务器? - How to deploy Node.js express server on GCP whithout `gcloud app deploy`? 将带有 Docker 的 MERN 应用程序部署到 GCP App Engine 时出现问题 - 部署需要几个小时吗? - Problem deploying MERN app with Docker to GCP App Engine - should deploy take multiple hours? (gcloud.preview.app.deploy)错误响应:[13]托管虚拟机无法托管在应用程序的区域中 - (gcloud.preview.app.deploy) Error Response: [13] Managed VMs can not be hosted in the application's region 如果URL是动态的,如何将node.js应用程序部署到heroku - How to deploy node.js app to heroku if the URL is dynamic gcloud Preview应用程序部署返回400,并显示消息App Engine服务帐户没有足够的项目权限。 需要开发者或所有者 - gcloud preview app deploy returns 400 with message App engine service account has insufficient permissions for project. Developer or owner required 如何在不登录的情况下在gcp上部署Node.js项目 - How to deploy Nodejs project on gcp without log in
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM