Front paths come from Laravel routes, not V10 rule strings. nginx / Apache only need to send unknown paths to public/index.php. Document root must be public.
| Page | Path |
|---|---|
| Home | / |
| Type | /type/{id} |
| Filter | /show |
| Search | /search |
| Detail | /vod/{id} |
| Play | /play/{id} |
| Admin | /admin/login |
location / {
try_files /html$uri/index.html /html$uri $uri $uri/ /index.php?$query_string;
}
Full server block: Env. If the home page is a directory listing, the root is not public.