How to send to laravel request with api prefix?
location @laravelapi { rewrite /api/(.*)?$ /api/index.php?$is_args$args last; } When we try access to api/routeexample, laravel gets only routeexample part, and throws 404 error. How we can send full url including 'api' part?