mardi 1 mars 2016

Changing Laravel applications web root

I'm having issues changing the web root path for the laravel5 application, was wondering if there was an easy way to fix it.

Basically, the new application is hosted at www2.oursite.com/, and I'm sending the traffic to it via a reverse proxy from www.oursite.com/pm2/. When the application gets deployed, all of the asset paths are broken, because its pulling from /build/, when I need it to be pulling from /pm2/build/.

Is there a quick fix for this in Laravel?

Thanks!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1oLltNC
via IFTTT

Aucun commentaire:

Enregistrer un commentaire