Skip to content

Commit

Permalink
fix: Add custom snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Nattfarinn committed Jan 11, 2023
1 parent cdd7926 commit 4f9c66e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ hooks:
# It is possible to manipulate your Fastly VCL configuration directly from command line using Fastly CLI.
# Official documentation on how to install: https://developer.fastly.com/learning/tools/cli#installing
# Example VCL snippet upload using vcl_recv hook (remember about FASTLY_SERVICE_ID and FASTLY_KEY environmental variables):
##fastly vcl snippet create --name="Enable Fastly IO" --version=active --autoclone --type recv --content=vendor/ibexa/fastly/fastly/ibexa_image_optimizer.vcl
##fastly vcl custom create --name="Ibexa VCL" --main --version=latest --autoclone --content=vendor/ibexa/fastly/fastly/ez_main.vcl
##fastly vcl snippet create --name="Shielding" --version=active --autoclone --type recv --content=vendor/ibexa/fastly/fastly/snippet_re_enable_shielding.vcl
# Post deploy hook, like deploy but after being deployed and live, for deploy tasks we can do asynchronously
# Tip: As this is running while web is running, and it's async, avoid doing anything like cache clearing that affects web requests here.
Expand Down
3 changes: 2 additions & 1 deletion resources/platformsh/ibexa-content/4.3/.platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ hooks:
# It is possible to manipulate your Fastly VCL configuration directly from command line using Fastly CLI.
# Official documentation on how to install: https://developer.fastly.com/learning/tools/cli#installing
# Example VCL snippet upload using vcl_recv hook (remember about FASTLY_SERVICE_ID and FASTLY_KEY environmental variables):
##fastly vcl snippet create --name="Enable Fastly IO" --version=active --autoclone --type recv --content=vendor/ibexa/fastly/fastly/ibexa_image_optimizer.vcl
##fastly vcl custom create --name="Ibexa VCL" --main --version=latest --autoclone --content=vendor/ibexa/fastly/fastly/ez_main.vcl
##fastly vcl snippet create --name="Shielding" --version=active --autoclone --type recv --content=vendor/ibexa/fastly/fastly/snippet_re_enable_shielding.vcl
# Post deploy hook, like deploy but after being deployed and live, for deploy tasks we can do asynchronously
# Tip: As this is running while web is running, and it's async, avoid doing anything like cache clearing that affects web requests here.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ hooks:
# It is possible to manipulate your Fastly VCL configuration directly from command line using Fastly CLI.
# Official documentation on how to install: https://developer.fastly.com/learning/tools/cli#installing
# Example VCL snippet upload using vcl_recv hook (remember about FASTLY_SERVICE_ID and FASTLY_KEY environmental variables):
##fastly vcl snippet create --name="Enable Fastly IO" --version=active --autoclone --type recv --content=vendor/ibexa/fastly/fastly/ibexa_image_optimizer.vcl
##fastly vcl custom create --name="Ibexa VCL" --main --version=latest --autoclone --content=vendor/ibexa/fastly/fastly/ez_main.vcl
##fastly vcl snippet create --name="Shielding" --version=active --autoclone --type recv --content=vendor/ibexa/fastly/fastly/snippet_re_enable_shielding.vcl
# Post deploy hook, like deploy but after being deployed and live, for deploy tasks we can do asynchronously
# Tip: As this is running while web is running, and it's async, avoid doing anything like cache clearing that affects web requests here.
Expand Down

0 comments on commit 4f9c66e

Please sign in to comment.