Where do you configure the production path?

I feel stupid asking that but, where do I tell trellis the path of the production? My server has a /srv/www/myblog/ folder ready to use with PHP and apache, but where do I set it in ansible?

You haven’t give much details so correct me if you already know this, but Trellis shouldn’t be used on already configured servers. Trellis uses Nginx and that won’t work (by default) with Apache already on a server.

But anyway, in Trellis you change the /srv/www part here: https://github.com/roots/trellis/blob/81ccc194570727558f29a248cc9db0b15f0df263/group_vars/all/main.yml#L6

1 Like

Ok so I explored a little bit more the ansible folders, stop me if i am wrong, but you give access to a ubuntu 14 without a web server and the provisioning will install everything you need?

So trellis is an Ansible configured specially for wordpress ?

I am going to install it on a new Ubuntu but i still need to disable the already installed Apache and to modify the srv/www folder as /srv/ is the mount point of my hosting service (/srv/diskname/www).

Trellis is a set of Ansible playbooks crafted to create and deploy a WordPress/Bedrock LEMP stack.

This is the best place to start: https://roots.io/trellis/
Then move onto this: https://roots.io/trellis/docs/installing-trellis/