Skip to content

Commit

Permalink
Trust workspace or pipeline host for drupal (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
kierenevans authored Dec 8, 2020
1 parent 2298196 commit 5baf4a2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ $databases['default']['default'] = array (
'driver' => 'mysql',
);
$settings['trusted_host_patterns'][] = '^' . preg_quote(getenv('APP_HOST')) . '$';
{% if @('app.build') == 'static' %}
// TODO: come up with an approach which allows asset aggregation
// to also work in static docker images where nginx and php-fpm
Expand Down

0 comments on commit 5baf4a2

Please sign in to comment.