Im developing in branch "module-api" an API folder with all exclusive configurations for it. I have create sample controllers. But it is not accessible from browser, sending the user to default site/error page.
I have validated all, check all, but i dont identify what is wrong. None of /api/controllers is working, request dont go to API controllers.
Nothing until now. I put a breakpoint in /api/web/index.php but not happen, if i put in /frontend/web/index.php and access http://yii2-app-advanced.local/api/customer/login it stop on frontend index.php, but not api index.php.
The problem is not solved. I dont know why the location /api dont call /api/web/index.php, but instead on stop on it, i rename folder to "ws", and now /api call /ws/web/index.php.
I dont know if is a bug/problem with "alias" or "try" nginx commands.
If anyone understand about it, please, help me, because my intention is use folder name "api".