# Here's Deployer recipes to deploy Bedrock

**URL:** https://discourse.roots.io/t/heres-deployer-recipes-to-deploy-bedrock/9896
**Category:** bedrock
**Created:** 2017-06-29T14:52:08Z
**Posts:** 17
**Showing post:** 12 of 17

## Post 12 by @flomo — 2019-07-03T16:46:46Z

I see two problems with your deploy settings: The chroot\_index\_file should point to a file and the deploy path should be prefixed with a slash. Try these changes:

```
set('chroot_index_file', 'web/index.php'); // The PHP index-file for Bedrock is inside the /web dir
host('xxx.xxx.xxx.xxx')
    ->user('xxxx')
    ->port('2020') 
    ->set('deploy_path', '/httpdocs');
```

I also suggest you delete the .dep, releases and shared dirs in /httpdocs before trying to deploy again.

---

_[View the full topic](https://discourse.roots.io/t/heres-deployer-recipes-to-deploy-bedrock/9896)._
