Skip to content

Commit

Permalink
Fix drupal10-nginx tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Dec 26, 2023
1 parent ee99848 commit eeef391
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion builders/_drupaly.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ module.exports = {
if (_.startsWith(options.via, 'nginx')) options.proxyService = 'appserver_nginx';
else if (_.startsWith(options.via, 'apache')) options.proxyService = 'appserver';
}
console.log(`${options.app}.${options._app._config.domain}`);
options.proxy = _.set(options.proxy, options.proxyService, [`${options.app}.${options._app._config.domain}`]);

// Send downstream
Expand Down
8 changes: 4 additions & 4 deletions examples/drupal10-nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ Run the following commands to validate things are rolling as they should.
```bash
# Should return the drupal installation page by default
cd nginx
lando ssh -s appserver_nginx -c "curl -L localhost" | grep "Drupal 10"
lando ssh -s appserver -c "curl -L appserver_nginx" | grep "Drupal 10"

# Should use 8.1 as the default php version
cd nginx
lando php -v | grep "PHP 8.1"

# Should be running nginx 1.17 by default
# Should be running nginx 1.25 by default
cd nginx
lando ssh -s appserver_nginx -c "nginx -v 2>&1 | grep 1.17"
lando ssh -s appserver_nginx -c "curl -IL localhost" | grep Server | grep nginx
lando ssh -s appserver_nginx -c "nginx -v 2>&1 | grep 1.25"
lando ssh -s appserver -c "curl -IL appserver_nginx" | grep Server | grep nginx

# Should be running mysql 5.7 by default
cd nginx
Expand Down

0 comments on commit eeef391

Please sign in to comment.