Skip to content

Commit

Permalink
add curl to nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeledy committed Oct 16, 2024
1 parent bf17207 commit 9cb0e52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions builders/varnish.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const varnishSsl = options => ({
`${options.confDest}/launch.sh:/launch.sh`,
`${options.confDest}/${options.defaultFiles.ssl}:/opt/bitnami/nginx/conf/lando.conf`,
],
build_as_root: ['apt-get update && apt-get install -y curl'],
});

// Builder
Expand Down
4 changes: 2 additions & 2 deletions examples/custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Verification commands
Run the following commands to validate things are rolling as they should.

```bash
# Should also serve over https if specified
# Should serve over https if specified
lando ssh -s custom_ssl -c "curl https://localhost | grep sophisticated"

# Shoule use a custom vcl file if specified
# Should use a custom vcl file if specified
lando ssh -s custom -c "cat /etc/varnish/lando.vcl | grep LANDOVARNISH"
lando ssh -s custom -c "env | grep LANDO_CUSTOM_VCL | grep YOUBETCHA"
lando ssh -s custom -c "curl -I localhost" | grep X-Lando-Varnish | grep capes
Expand Down

0 comments on commit 9cb0e52

Please sign in to comment.