Include a Local Drupal Settings file for Environment Configuration and Overrides How to create and include a local settings file to define and override environment-specific variables. Read more about Include a Local Drupal Settings file for Environment Configuration and Overrides
Include environment-specific settings files on Pantheon How to load a different settings file per environment on Pantheon. Read more about Include environment-specific settings files on Pantheon