# cloudcdn-signed-cookie-nginx **Repository Path**: mirrors_GoogleCloudPlatform/cloudcdn-signed-cookie-nginx ## Basic Information - **Project Name**: cloudcdn-signed-cookie-nginx - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This is not an officially supported Google product. See LICENSE for license information. * Background This repo holds example nginx javascript code to generate SignedCookie for use with GCP's CloudCDN. * Usage To use the container image generated by the Dockerfile, you need to create(and adjust) a secret with the following content: ```bash #!/bin/bash export SIGNKEY="the signing key" export KEYNAME="keyname" export DOMAIN="example.com" export EXPIRES="1200" export LOCATION_REGEXP=".*" export BACKEND_SERVER="someipaddress:80" ``` When you run the container, pass the name of the secret to the container through an env named SECRETNAME. Remember to grant access to the secret to the VM(s) running the container. Otherwise just use the js file and nginx config files in the nginx directory.