I'm attempting to setup a server configuration where React is the frontend and Laravel is the API, but I'm unsure of how to setup Apache2 so that mydomain.com/api will serve Laravel and everything else will serve React
I tried setting up a separate site config file for Laravel at mydomain.com/api being routed to the Laravel public folder but it doesn't work
Any advice is appreciated
Thanks
- Zach