-
-
Notifications
You must be signed in to change notification settings - Fork 4
domains used in proxies aren't added to LAGOON_ROUTES #14
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
If I specify a route in a proxy, it doesn't flow through to the LAGOON_ROUTES variable inside the container, so doesn't appear in the trusted (and error with The provided host name is not valid for this server.
i.e. given the lando.yml
name: drupal8-example-advanced
recipe: lagoon
config:
flavor: drupal
build:
- composer install
proxy:
nginx:
- myapp.lndo.site:8080
we get
Here are some vitals:
NAME drupal8-example-advanced
LOCATION /home/tobybellwood/sites/drupal-example-simple
SERVICES cli, nginx, php, mariadb, redis, solr, varnish, mailhog, lagooncli
NGINX URLS http://localhost:49158
http://myapp.lndo.site/
https://myapp.lndo.site/
SOLR URLS http://localhost:49154
VARNISH URLS http://localhost:49159
http://varnish.drupal8-example-advanced.lndo.site/
MAILHOG URLS http://localhost:49156
http://inbox.drupal8-example-advanced.lndo.site/
tobybellwood@pop-os:~/sites/drupal-example-simple $ lando ssh
[drupal8-example-advanced]cli-drupal:/app$ printenv | grep ROUTES
LAGOON_ROUTES=cli,nginx,php,mariadb,redis,solr,varnish,drupal8-example-advanced.lndo.site,localhost
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working