Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.lando.yml
README.md
compose.yml

README.md

Legacy Proxy Format Example

PENDING DEPRECATION!!! DO NOT USE!!!

This example uses an apache and nginx webserver to demonstrate the legacy proxy routing format.

See the .lando.yml in this directory for legacyy proxy configuration options.

Getting Started

You should be able to run the following steps to get up and running with this example.

# Start up the example
# This may take awhile unless you've first added
#
#   - bob.frank.kbox.com
#   - frank.bob.joe
#   - tippecanoe.tyler.too
#
# To your `/etc/hosts`
# See: https://docs.devwithlando.io/config/proxy.html#working-offline-or-using-custom-domains
#
# If you have not added these entries then you should expect to see them as "red"
# after you start this example
lando start

# Check out other commands you can use with this example
lando

Helpful Commands

Here is a non-exhaustive list of commands that are relevant to this example.

# Curl the default proxy URL
curl http://trivial-proxy-legacy.lndo.site

# Curl some subdomains
curl http://site1.trivial-proxy-legacy.lndo.site
curl http://site2.trivial-proxy-legacy.lndo.site

# Curl custom domains
# These should fail unless you've added the domains to your /etc/hosts file
# See: https://docs.devwithlando.io/config/proxy.html#working-offline-or-using-custom-domains
curl http://bob.frank.kbox.com
curl http://frank.bob.joe
curl http://tippecanoe.tyler.too