I want to serve multiple VueJS 3 applications from the same NGINX server but different subfolders. I've stumbled across and tried countless resources from stack and the web but things just don't come together.
I have three applications and three build types.
Production: mydomain.com/app1, mydomain.com/app2, mydomain.com/app3
Staging: mydomain.com/staging/app1, mydomain.com/staging/app2, mydomain.com
Try this conf
Now you can use git to clone the repository in /var/www/ and enter npm run build