The projects are building and running well, but got one big problem. It will return 404 Not Found when refreshing the url on browser. For example, if just open the url: http://localhost:8081/vue#/, it will show the error. It is because of the routing mechanism or because of the nginx config?
here is the nginx conf file:
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
Hello:
The projects are building and running well, but got one big problem. It will return 404 Not Found when refreshing the url on browser. For example, if just open the url: http://localhost:8081/vue#/, it will show the error. It is because of the routing mechanism or because of the nginx config?
here is the nginx conf file: worker_processes 1;
events { worker_connections 1024; }
http { include mime.types; default_type application/octet-stream;
}