Answer the question
In order to leave comments, you need to log in
How to set up multiple applications in one nginx?
There are:
1. Two Vue apps one using nuxt.js and one without
2. Generated index.html template from nuxt.js
3. Generated build of vue app
4. Not working nginx config :(
My config
server {
server_name mysite.com;
listen 80;
location / {
root /home/django/projects/hq/hq-landing/dist/;
index index.html;
}
location /app/ {
root /home/django/projects/hq/hq-frontend/front/dist/;
try_files $uri $uri/ /index.html;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question