I have and old project that now requires new functionality, I\'m going to use laravel to provide it, everything in working ok in xampp with apache but my server con nginx sh
it did not work for me, so I got another solution.
I had created a "normal" laravel domain, point to http://generic.laravel root /my/laravel/path/public
After that, I created a location on real domain proxying to my generic Laravel:
location /laravel {
rewrite /laravel/?(.*)$ /$1 break;
proxy_pass http://generic.laravel;
}
Unfortunately, Laravel is going to use the url http://generic.laravel to create links. You may to solve it following this steps Laravel: Change base URL?