Server configuration changed. how to update development server?


I need to make a modification to the nginx setup configuration files so I followed these instructions. My question is: how do I get these changes onto the local development vagrant machine? I tried vagrant reload to no avail.

Trellis Nginx includes are set up during the wordpress-setup role, so you’ll need the dev.yml playbook to provision the server. You already know that this provisioning happens on your very first vagrant up.

The info you need is that vagrant reload doesn’t run the ansible provisioner unless you add the option --provision. However, the Nginx includes don’t require a full reload, so you can use the more expeditious vagrant provision.

In case you want more flexibility than the current Nginx includes offers, you could test roots/trellis#688 to help it get merged.