Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

douglas168's avatar

How do I deploy vue frontend with Laravel API backend project to a NGINX environment?

I have a project with Vue as frontend and Laravel 8 API as the backend. I am also using NGINX to route between front and backend. However, vue frontend can't make API call to the back. Anyone knows how to properly configure NGINX config file for making backend API call to Laravel?

Appreciate the help!

0 likes
0 replies

Please or to participate in this conversation.