Did you give it a Symlink in the /etc/nginx/sites-enabled?
ln -s /etc/nginx/sites-available/myapp.dev /etc/nginx/sites-enabled/myapp.dev
restart nginx
Greetings
Marco
Hi All, I'm working on Vuejs SPA + Lalavel API + Laradock latest. I'm trying to setup domain for SPA myapp.dev also I need to change nginx config according to https://router.vuejs.org/en/essentials/history-mode.html in order to fix routing issue. I have added site config to nginx\sites\myapp.conf and its content is
server {
listen 80;
listen [::]:80;
server_name myapp.dev;
root /var/www/app/dist;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}
What is wrong here? it doesn't seems to be working :(
@bashy please help me with this ;)
Please or to participate in this conversation.