forumone / web-starter

Starting place for developing Drupal, Wordpress and other web applications
http://forumone.github.io/web-starter/
22 stars 11 forks source link

Custom webroots are not working #266

Closed johnbburg closed 5 years ago

johnbburg commented 7 years ago

I noticed that custom webroots are not working for both the puppet and salt branches.

On puppet, it seems that just the webroot directory name is used, e.g.

root htdocs;

instead of /vagrant/htdocs;

On salt, it just uses the default root "/vagrant/public"

mshade commented 7 years ago

It can be set in the salt branch, but I dont' think the generator asks you. Perhaps we should add that as a feature.

To set it to something else, copy the file at salt/roots/pillars/nginx/drupal.sls to something like custom.sls and edit the line that defines /vagrant/public to whatever you need. Then edit project.sls and tell it to use nginx.custom instead of nginx.drupal