Google App Engine 上 NodeJS 部署的自定义域

Custom domain for NodeJS deployment on Google App Engine

我已经在 Google App Engine 上成功部署了 Node JS,但是在部署之后它为我提供了 url 就像 https://mydomain-473829.uc.r.appspot.com 我如何自定义使用我自己的子域就像 https://api.mydomain.com?

您应该按照 these instructions 将 domain/subdomain 映射到您的应用。

请注意,在您设置自定义域并更新 DNS 记录后,托管 SSL 证书会在几分钟内由 Google 自动提供。如果您不想使用 Google 托管 SSL 证书,您还可以查看 this documentation 如何设置您自己的 SSL 证书。