{"id":44267672,"url":"https://github.com/nullstone-modules/gcp-gcs-cdn","last_synced_at":"2026-02-10T18:37:20.598Z","repository":{"id":230059945,"uuid":"778338920","full_name":"nullstone-modules/gcp-gcs-cdn","owner":"nullstone-modules","description":"Creates a CDN for a Nullstone static site that is hosted using Google Cloud Storage","archived":false,"fork":false,"pushed_at":"2024-12-13T17:50:42.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-30T14:56:16.088Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nullstone-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-27T14:36:49.000Z","updated_at":"2024-12-13T17:50:40.000Z","dependencies_parsed_at":"2024-03-27T16:51:21.038Z","dependency_job_id":"e8ce0229-30a7-4ebc-8103-4a45665de8e7","html_url":"https://github.com/nullstone-modules/gcp-gcs-cdn","commit_stats":null,"previous_names":["nullstone-modules/gcp-gcs-cdn"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nullstone-modules/gcp-gcs-cdn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Fgcp-gcs-cdn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Fgcp-gcs-cdn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Fgcp-gcs-cdn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Fgcp-gcs-cdn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullstone-modules","download_url":"https://codeload.github.com/nullstone-modules/gcp-gcs-cdn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Fgcp-gcs-cdn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29311362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-10T18:37:19.604Z","updated_at":"2026-02-10T18:37:20.588Z","avatar_url":"https://github.com/nullstone-modules.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcp-gcs-cdn\n\nCreates a Content Distribution Network (CDN) for a Nullstone static site that is hosted using Google Cloud Storage.\nThis adds a security layer and caching for serving static assets.\n\n## Subdomain connection\n\nThis module requires connection a subdomain.\nThe subdomain address is automatically connected to the created Cloud CDN.\n\n## HTTPS\n\nThis connection is also used to create an HTTPS connection.\nThe CDN is configured to redirect HTTP:80 traffic to HTTPS:443 by serving HTTP traffic with `HTTP 301 (Moved Permanently)`.\n\n## Versioned Assets\n\nFor a static site that has versioned assets enabled, the assets for each code version are stored in a directory within Google Cloud Storage.\nThis module automatically configures the routing of requests to the assets directory for the live code version.\nLet's look at an example where a user requests `\u003cpath\u003e/\u003cto\u003e/\u003cimage\u003e`.\nIf the code version of the app is `9ff6494`, the CDN will serve `9ff6494/\u003cpath\u003e/\u003cto\u003e/\u003cimage\u003e` from the Google Cloud Storage (GCS) bucket.\n\n## Environment File\n\nThis module also configures the CDN to serve an environment file (`env.json`) in json format containing environment variables from the application.\nAs opposed to versioned assets, this env file is stored in the root of the Google Cloud Storage (GCS) bucket.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullstone-modules%2Fgcp-gcs-cdn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullstone-modules%2Fgcp-gcs-cdn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullstone-modules%2Fgcp-gcs-cdn/lists"}