ガイド一覧

CDN

Put a CDN in front of a service, a server or S3 to serve it fast worldwide.

  1. 1Create

    bash
    oc cdn create static --origin service:web --domain cdn.example.com
  2. 2Domain and certificate

    Verify ownership with the TXT record, add the CNAME, then upload a certificate (PEM).

    bash
    oc cdn domain verify --cdn static
    oc cdn cert static --cert fullchain.pem --key privkey.pem
  3. 3Options and purge

    bash
    oc cdn update static --set cache.defaultTtl=600 --set hsts=31536000
    oc cdn purge static --path /assets/

関連ガイド