From e523bc738b3854efacd5bd0f4dc4c1620e5216b4 Mon Sep 17 00:00:00 2001 From: Thorsten Reiter <34274688+reithor@users.noreply.github.com> Date: Wed, 22 May 2024 14:28:52 +0200 Subject: [PATCH] Fastly: fixed vcl create - fixed duplicate `--version` attribute - fixed missing filename First command will create the new service version `latest` Following commands will operate on `latest` service version --- docs/infrastructure_and_maintenance/cache/http_cache/fastly.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/infrastructure_and_maintenance/cache/http_cache/fastly.md b/docs/infrastructure_and_maintenance/cache/http_cache/fastly.md index 9816a90f60..4e9ff0e105 100644 --- a/docs/infrastructure_and_maintenance/cache/http_cache/fastly.md +++ b/docs/infrastructure_and_maintenance/cache/http_cache/fastly.md @@ -47,7 +47,7 @@ You also need to set up domains, HTTPS and origin configuration (not covered her All commands are explained in detail [below](#view-and-modify-vcl-configuration): ``` bash -fastly vcl custom create --name=ez_main.vcl --version=active --autoclone --content=vendor/ibexa/fastly/fastly/ --version=latest --main +fastly vcl custom create --name=ez_main.vcl --version=active --autoclone --content=vendor/ibexa/fastly/fastly/ez_main.vcl --main fastly vcl custom create --name=ez_user_hash.vcl --content=vendor/ibexa/fastly/fastly/ez_user_hash.vcl --version=latest fastly vcl snippet create --name="Re-Enable shielding on restart" --version=latest --priority 100 --type recv --content=vendor/ibexa/fastly/fastly/snippet_re_enable_shielding.vcl fastly service-version activate --version=latest