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!
Edit
Just an FYI, a simple mod-rewrite wont work, since this uses proxy-pass, anything outside of the /pm2 folder goes right to a different server, thus, it wont even hit apache on the reverse proxy destination folder
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire