Content Cache

Channel Revision Published Runs on
latest/stable 415 17 Nov 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 413 17 Nov 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 414 17 Nov 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 346 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 345 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 344 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 341 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 340 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 334 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 91 01 Feb 2022
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 385 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 384 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 383 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 346 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 345 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 344 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 23 08 Apr 2021
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/beta 385 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/beta 384 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/beta 383 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/beta 346 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/beta 345 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/beta 344 14 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 419 17 Nov 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 418 17 Nov 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 417 17 Nov 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 416 17 Nov 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 385 11 Sep 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 384 11 Sep 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 383 11 Sep 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 346 14 Mar 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 345 14 Mar 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 344 14 Mar 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 89 13 Jan 2022
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
juju deploy content-cache --channel beta
Show information

Platform:

Ubuntu
24.04 22.04 20.04 18.04

The sites_secrets config option can be used so that secrets can be referenced in the sites config option, and that can be shared widely, but the secrets themselves can be kept separate. It is a YAML formatted dictionary of secrets/keys that can then be referenced in the sites config option.

As an example, we could specify the following in sites_secrets (which could be only shared with those deploying a production instance):

site1.local:
  locations:
    "/":
      backend-path: /my-backend-path-secret/
      origin-headers:
        X-Origin-Key: my-origin-secret-key
      signed-url-hmac-key: my-signed-url-secret-key

And then in our sites config option we could specify the following (which could be shared with anyone):

site1.local:
  locations:
    "/":
      backend-path: ${secret}
      backends:
        - 127.0.0.10:80
      origin-headers:
        X-Origin-Key: ${secret}
      signed-url-hmac-key: ${secret}

This would lead to a rendered sites configuration as follows:

site1.local:
  locations:
    "/":
      backend-path: /my-backend-path-secret/
      backends:
        - 127.0.0.10:80
      origin-headers:
        X-Origin-Key: my-origin-secret-key
      signed-url-hmac-key: my-signed-url-secret-key

Secrets can be specified for any option within a “locations” sub-path as required.