custom-domain

How to configure custom domain for Google Cloud Functions for rendering HTML

放肆的年华 提交于 2021-02-07 19:17:53
问题 So I have deployed a Google Cloud Function to some place like this: https://us-central1-my-project.cloudfunctions.net/my-function I can successfully render a dynamic webpage like this: https://us-central1-my-project.cloudfunctions.net/my-function?slug=foo Now, I would like to put this behind a regular URL so it works like this: https://my-domain.com/some-directory/foo I would like for it to be https instead of http. And notice that I added some-directory above the foo slug, so there is a

How to configure custom domain for Google Cloud Functions for rendering HTML

徘徊边缘 提交于 2021-02-07 19:17:04
问题 So I have deployed a Google Cloud Function to some place like this: https://us-central1-my-project.cloudfunctions.net/my-function I can successfully render a dynamic webpage like this: https://us-central1-my-project.cloudfunctions.net/my-function?slug=foo Now, I would like to put this behind a regular URL so it works like this: https://my-domain.com/some-directory/foo I would like for it to be https instead of http. And notice that I added some-directory above the foo slug, so there is a

How to configure custom domain for Google Cloud Functions for rendering HTML

泪湿孤枕 提交于 2021-02-07 19:16:14
问题 So I have deployed a Google Cloud Function to some place like this: https://us-central1-my-project.cloudfunctions.net/my-function I can successfully render a dynamic webpage like this: https://us-central1-my-project.cloudfunctions.net/my-function?slug=foo Now, I would like to put this behind a regular URL so it works like this: https://my-domain.com/some-directory/foo I would like for it to be https instead of http. And notice that I added some-directory above the foo slug, so there is a

App Engine custom domain with service

℡╲_俬逩灬. 提交于 2019-12-05 14:09:58
问题 I set up a custom domain with App Engine after following the instructions on DNS records: https://cloud.google.com/appengine/docs/standard/java/mapping-custom-domains It's working for the default service using URL http://MY_CUSTOM_DOMAIN but I'm unable to access other services with URLs http://SERVICE_ID.MY_CUSTOM_DOMAIN. Do I need to map a different set of DNS records? 回答1: Check how to use subdomains and how wildcard mapping works in the GCP docs here (actually these are the next steps at

App Engine custom domain with service

て烟熏妆下的殇ゞ 提交于 2019-12-04 00:45:00
I set up a custom domain with App Engine after following the instructions on DNS records: https://cloud.google.com/appengine/docs/standard/java/mapping-custom-domains It's working for the default service using URL http://MY_CUSTOM_DOMAIN but I'm unable to access other services with URLs http://SERVICE_ID.MY_CUSTOM_DOMAIN . Do I need to map a different set of DNS records? Check how to use subdomains and how wildcard mapping works in the GCP docs here (actually these are the next steps at the website which you've followed and linked). Make sure that your DNS provider permits wildcards in CNAME