My app root: /public/index.php /public/front/index.html
I want to mydomain.com/api to serve from /public/index.php, and my frontend i.e the static site mydomain.com/ from /public/front/index.html.
I have tried using proxy and location with document root as /public/ but failed to deliver the results in Apache2.
Need a correct way around. (Already using a simple conf for nginx to do the same)