Skip to content

Commit

Permalink
#246: improve merging of same-service, same-hostname-path proxy confi…
Browse files Browse the repository at this point in the history
…guration part 4
  • Loading branch information
pirog committed Oct 23, 2024
1 parent ec894eb commit e4737e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ lando exec web4 -- env | grep LANDO_SERVICE_CERT | grep /certs/cert.crt
lando exec web4 -- cat \$LANDO_SERVICE_KEY
lando exec web4 -- env | grep LANDO_SERVICE_KEY | grep /certs/cert.key

# Should succcesfully merge same-service same-hostname-pathname routes together correctly
lando exec php -- curl -sI http://lando-proxy.lndo.site | grep -i "X-Lando-Merge" | grep picard
lando exec php -- curl -sI http://lando-proxy.lndo.site | grep -i "X-Lando-Merge-Xo" | grep riker

# Should remove proxy entries when removed from the landofile and rebuild
cp -rf .lando.yml .lando.old.yml
cp -rf .lando.stripped.yml .lando.yml
Expand Down

0 comments on commit e4737e6

Please sign in to comment.