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

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -