Laravel is a total crap .. over complicated.. this permit to setup the proyect without so much problems
the problem is the options for apache2 and the rewrite rule for nginx
1) aoache 2 or apache2+nginx
choose PHP-FPM-XX-PUBLIC php templates, no matter the version.. BUT disable nginx proxy.. will produce problems unless you know how to handle the rewirte with the proxy reverse
then go to apache2 template already setup in the home user, under conf/web/*apache.*conf files and modify the options line to:
Code: Select all
Options +Includes +Indexes +FollowSymLinks +SymLinksIfOwnerMatch +execCGI
go to the template setup, and alter the file in directoy conf/web/ of the home user, open the file nginx.*.conf and add the line
Code: Select all
try_files $uri $uri/ /index.php?$query_string;