Ну и далее settings.php gist.github.com/Fi1osof/e11e6c75bf4f44f27c45