wilkesreid / easy-laravel

Get Laravel up and running as quickly and easily as possible. Made for Mac.
3 stars 0 forks source link

Nginx configuration not correctly displaying Laravel at localhost #2

Open wilkesreid opened 8 years ago

wilkesreid commented 8 years ago

The site.conf file is supposed to route traffic to the code/public directory so Laravel's index.php will be loaded, but only the default nginx page is showing.

wilkesreid commented 8 years ago

Interestingly, using a docker machine fixes the issue. eval $(docker-machine env default) and then ./install, and Laravel is successfully running at the default docker-machine's ip.

wilkesreid commented 8 years ago

I can access Laravel by 127.0.0.1, but not by localhost (when not using docker-machine). So I think it's a problem with the nginx configuration, but I'm not an nginx expert, so I'm not sure what the issue is.