Skip to content

Instantly share code, notes, and snippets.

@DASPRiD
Last active December 15, 2015 10:49
Show Gist options
  • Save DASPRiD/2f2544eb4b6539fcca0b to your computer and use it in GitHub Desktop.
Save DASPRiD/2f2544eb4b6539fcca0b to your computer and use it in GitHub Desktop.
<?php
return array('router' => array(
'prototypes' => array(
'https' => array(
'type' => 'scheme',
'options' => array('scheme' => 'https'),
),
'api' => array(
'type' => 'hostname',
'options' => array('hostname' => 'api.example.com'),
),
),
'routes' => array(
'foo' => array(
'chain_routes' => array('htps', 'api')
),
'bar' => array(
'chain_routes' => array('htps', 'api')
),
)
));
@weierophinney
Copy link

How do those not using PHP for config manage it, then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment