APP_URL of .env register entire URL (beyond the domain) of the application

1

I have a server with a domain where there are several applications Laravel, for example, the path of the application1 looks like this: link

p>

The problem is that when I push APP_URL = link app_url only generates routes with the domain, for example if I generate url('foo/bar') link will stay link (disregarding the application path - aplicacao1/public ) ...

Has anyone seen this problem yet?

    
asked by anonymous 20.09.2017 / 19:07

1 answer

0

You may have to create subdomains for each application. Ex: link link

    
21.09.2017 / 05:04