Find the Exponential Software extensions you want
| UNIX name | Owner | Status |
|---|---|---|
| platformsh-siteaccess-matcher-bundle | 7x | stable |
| Version | Compatible with |
|---|---|
| N/A | N/A |
Paltform.sh allows you to have multiple environments (stage, feature specific and so). But those environments will use autogenerated URLs. And it might be a problem, if you have multiple siteaccesses in your eZ Platform installation and Map\Host matcher is used. This bundle override default Map\Host and tries to extract correct host name from Platform.sh environment variables. Which fixes this issue.
$ composer require contextualcode/platformsh-siteaccess-matcher-bundle
return [
...
ContextualCode\PlatformShSiteAccessMatcherBundle\ContextualCodePlatformShSiteAccessMatcherBundle::class => ['all' => true],
]
###> contextualcode/platformsh-siteaccess-matcher-bundle ###
SITE_ACCESS_MATCHER_DOMAINS_PREFIX=
###< contextualcode/platformsh-siteaccess-matcher-bundle ###
$ git add composer.json composer.lock config/bundles.php .env
$ git commit -m "Installing platformsh-siteaccess-matcher-bundle"
$ git push platform master