Answer the question
In order to leave comments, you need to log in
How to raise routing works in Laravel in docker container?
I can't figure out why Laravel's routing isn't working. I go to the rest page for which routing is specified, but nginx returns 404. Lara is installed in docker container nginx + php-fpm Lara
5.8
controller is used
class RestTestController extends Controller
{
public function index()
{
echo "hello";
}
}
Route::resource('rest', 'RestTestController')->names('restTest');
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