I'll give it a try, thank you!
Is there a way to update homestead config instead to use apache by default?
Because everything in homestead is based on nginx
Lots of folks are not in control of the environment their code runs on. Having an apache box set up to point homstead at instead of the default would be very helpful. Thanks abhimanyusharma003 for the useful answer.
In case someone winds up on this post (just like me), a clean way to install Apache is to edit the ad hoc after.sh file, which you should find under ~/.homestead/, adding these lines:
I was providing an alternative so you can configure your VM as you like (without changing/adding much). Homestead is made in the thought of Forge being used as the end point.
homestead-7: /tmp/vagrant-shell: line 52: /etc/apache2/sites-available/redacted.dev.conf: No such file or directory ==> homestead-7: ln: ==> homestead-7: failed to create symbolic link '/etc/apache2/sites-enabled/redacted.dev.conf' ==> homestead-7: : No such file or directory
then read this in his comment
"Make sure you don't mix up apache and nginx, that won't work."
So, do ALL of my sites have to be apache?
So, now I'm moving to a per-project install workflow.
@bashy I have installed Homestead from scratch with only the 1 default site configured. I added type=apache to that and then vagrant reload --provision
It is currently installing 10 million things...
Since all of my work is on shared hosting running Apache I decided to try to use type=apache for everything I put into Homestead.