how to run laravel project on linux server nginx code example
Example: laravel nginx
# If you are using Nginx, the following directive in your site
# configuration will direct all requests to the index.php
# front controller:
location / {
try_files $uri $uri/ /index.php?$query_string;
}