Answer the question
In order to leave comments, you need to log in
Can I have a folder and route at the same time with the same name?
I'm interested in the question, if suddenly I have a folder in public with the name test and route,
I will get 403. Is it possible to somehow switch to the root? Route::get('test', function() {});
Answer the question
In order to leave comments, you need to log in
In standard .htaccess, this line can be commented out so that even existing paths (to the folder) are processed by Laravel.
https://github.com/laravel/laravel/blob/master/pub...
There should be something similar in the nginx config, but I don't remember how try_files works with directories there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question