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 7e65448
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 @@ -96,6 +96,7 @@ module.exports = {
overrides: require('../utils/clone-overrides')(options.overrides),
ssl: true,
sslExpose: true,
build_as_root: ['apt-get update && apt-get install -y curl'],
});

// Set another lando service we can pass down the stream
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 7e65448

Please sign in to comment.