1👍
✅
From an error in image it seems the page are be able to load then it try to load app.js
from http://localhost:5000/js/app.js
which is weird since your serve the Vue.js application under /app-1/
and /app-2/
.
So I think the problem is how your serve/build Vue.js application Not nginx proxy problem.
If you are using Vue CLI
,
By default, Vue CLI assumes your app will be deployed at the root of a domain
You need to set publicPath in vue.config.js
to /app-1/
and /app-2/
.
I hope this help.
Source:stackexchange.com