Last active
August 29, 2015 14:20
-
-
Save maciejzgadzaj/1b878eed20578fde58cb to your computer and use it in GitHub Desktop.
Platform.sh routes for local dev environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $routes = array( | |
| 'https://www.domain.local/' => (object) array( | |
| 'upstream' => 'drupal', | |
| 'original_url' => 'https://www.{default}/', | |
| ), | |
| 'http://blog.domain.local/' => (object) array( | |
| 'upstream' => 'drupal', | |
| 'original_url' => 'http://blog.{default}/', | |
| ), | |
| 'http://pro.domain.local/' => (object) array( | |
| 'upstream' => 'drupal', | |
| 'original_url' => 'http://pro.{default}/', | |
| ), | |
| ); | |
| putenv('PLATFORM_ROUTES=' . base64_encode(json_encode($routes))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment