dimanche 12 novembre 2017

AWS ALB with Laravel Framework Application

I am trying to use AWS ALB with Laravel Framework Application and I have 4 applications in Laravel which I am trying to accommodate behind ALB and use one domain with one sub domain. My target is to access those applications by adding forward slash in front of my single FQDN.

sub.mydomain.com. = 1 app

http://ift.tt/2i9RLkR = 2nd app

http://ift.tt/2AA3KyM = 3rd app

http://ift.tt/2i9RLRT = 4th app

But the issue is Laravel Framework use base URL in whole Framework and in its config.php and use in all files and due to this issue I am not able to use / and get access of that application. By some R&D, I found that I can use Nginx for this purpose then how AWS is saying that this is application load balancing? It works with simple PHP scripts based application but not working with Framework Application. Do I need to change code or we can make this up using DevOps skills ?



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

Aucun commentaire:

Enregistrer un commentaire