Nginx reverse proxy Serving Node.js app static file
1 I have a Laravel application in which one route /onlineAds will take me to another application (an SPA one) built with Vue.Js as front and Node.js as Back. So I'm trying to use Nginx as a reverse proxy in order to serve my SpaApp's static files but without any success. My conf is as follow: / => will be serverd from "C:/laragon/www/laravel_App/public/" /onlineAds/(*) => will be serverd from "C:/laragon/www/VueNodeApp/dist/" /api/(*) => will be proxied to nodeJs server Here is what I tried to do with Nginx: server listen 8080; server_name domain.test *.domain.test; root "C:/laragon/www/laravel_App/public/"; index index.html index.htm index.php; location / try_files $uri $uri/ /index.php$is_args$args; autoindex on; location ~* ^/onlineAds(.*)$ alias "C:/laragon/www/craiglist/dist/"; #try_files $uri $uri/ /index.html; location ~* ^/api(.*)$ proxy_set_header Host $host; proxy_set_header Upgrade $http_up...