I am hoping I can set server variables for specific sites, in this case for a URL that is used for acceptance testing with Behat.
I can set this manually in nginx with e.g.:
fastcgi_param APP_ENV "acceptance";
However, I would like to know if there is a way of defining this in homestead.yaml so I don't have to add that line in each time I provision, or if a colleague needs to set up on their machine.
I would like to do something like:
sites:
- map: www.mysite.com
to: /home/vagrant/e247/nimble-admin/public
- map: www.mysite.test
to: /home/vagrant/e247/nimble-admin/public
variables:
- key: APP_ENV
value: acceptance
variables:
- key: APP_ENV
value: local