Title: should be able to change hostname of generated URL · Issue #3140 · googleapis/google-cloud-java · GitHub
Open Graph Title: should be able to change hostname of generated URL · Issue #3140 · googleapis/google-cloud-java
X Title: should be able to change hostname of generated URL · Issue #3140 · googleapis/google-cloud-java
Description: We are facing google storage access issue in China. We have a kind of proxy controller at our CDN (Fastly) which will serve files from google storage to avoid Chinese blockage of Google hostnames. So I need CDN's host in resource URL ins...
Open Graph Description: We are facing google storage access issue in China. We have a kind of proxy controller at our CDN (Fastly) which will serve files from google storage to avoid Chinese blockage of Google hostnames. ...
X Description: We are facing google storage access issue in China. We have a kind of proxy controller at our CDN (Fastly) which will serve files from google storage to avoid Chinese blockage of Google hostnames. ...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/3140
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"should be able to change hostname of generated URL","articleBody":"We are facing google storage access issue in China. We have a kind of proxy controller at our CDN (Fastly) which will serve files from google storage to avoid Chinese blockage of Google hostnames. \r\nSo I need CDN's host in resource URL instead of `storage.googleapis.com`. I checked code and found it is currently hardcoded in `StorageImpl.signUrl(...)`. So it would be good if it is possible to configure it.\r\nCurrently, URL looks like: https://storage.googleapis.com/\u003cbucket\u003e/\u003cfile_path\u003e?GoogleAccessId=accessID\r\nAnd I want something like: https://my.custom.host.com/\u003cbucket\u003e/\u003cfile_path\u003e?GoogleAccessId=accessID","author":{"url":"https://github.com/yogeshpatilcrest","@type":"Person","name":"yogeshpatilcrest"},"datePublished":"2018-04-10T11:33:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/3140/google-cloud-java/issues/3140"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:60d26e28-da01-9394-2872-f41d37c1d599 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8A0:2495A6:1B314F9:277B7FB:6A4CFD73 |
| html-safe-nonce | 5c8a0a01c46167509b18ffb601f2723fb03cdcaf85752f1fce579e073ad84f42 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEEwOjI0OTVBNjoxQjMxNEY5OjI3N0I3RkI6NkE0Q0ZENzMiLCJ2aXNpdG9yX2lkIjoiNjcwMTgyOTY3NzI2MDc5OTM0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aadd9d8167b458b5e5bccef63b3daf6b695328c1db941d1cf577a51abf7a0fa6 |
| hovercard-subject-tag | issue:312883104 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/3140/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5587aa6a8fa063ca43cc0e987d54926d878e7d9b250029070f7a2ac84ec07644/googleapis/google-cloud-java/issues/3140 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5587aa6a8fa063ca43cc0e987d54926d878e7d9b250029070f7a2ac84ec07644/googleapis/google-cloud-java/issues/3140 |
| og:image:alt | We are facing google storage access issue in China. We have a kind of proxy controller at our CDN (Fastly) which will serve files from google storage to avoid Chinese blockage of Google hostnames. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yogeshpatilcrest |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width