nginx - Lumen in a subfolder trailing slashes issue -
in public/index.php have changed $app->run() $app->run($app['request']) , resulted in lumen working in sub-folder, works:
http://local.dev/app/ http://local.dev/app/test however if there's slash @ end of route notfoundhttpexception. example:
http://local.dev/app/test/ i'm using nginx , rewrite rule folder is:
location /app/ { try_files $uri $uri/ /app/index.php?$query_string; } am doing wrong?
Comments
Post a Comment