Answer the question
In order to leave comments, you need to log in
Running laravel app through proxy_pass how?
There is a personal account on laravel, it works with finances and hangs on a separate server. Now it hangs on the invest.domain.com subdomain, but there is an urgent need to transfer it to the main domain where the main site (separate server) hangs in domain.com/invest.
All this is done through proxy_pass.
location /invest/ {
proxy_pass http://ip.ip.ip.ip/;
}
function route($name, $parameters = [], $absolute = true)
{
return $_ENV['APP_URL'].app('url')->route($name, $parameters, false);
}
function asset($path, $secure = null)
{
return $_ENV['APP_URL'].'/'.$path;
}
function appurl($path = null)
{
return $_ENV['APP_URL'].$path;
}
function action($name, $parameters = [], $absolute = true)
{
return $_ENV['APP_URL'].app('url')->action($name, $parameters, false);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question