A single-page application developed by vue (which enables opening sub-routes to be displayed on a new tag) is published and placed in nginx, and sub-routes are opened on the new tag, showing 404
.
nginx.conf
http {
include mime.types;
default_type application/octet-stream;
-sharplog_format main "$remote_addr - $remote_user [$time_local] "$request" "
-sharp "$status $body_bytes_sent "$http_referer" "
-sharp ""$http_user_agent" "$http_x_forwarded_for"";
-sharpaccess_log logs/access.log main;
sendfile on;
-sharptcp_nopush on;
-sharpkeepalive_timeout 0;
keepalive_timeout 65;
server {
listen 8086;
server_name localhost;
-sharpcharset koi8-r;
-sharpaccess_log logs/host.access.log main;
location / {
root html/msh;
index index.html index.htm;
}
location /msh/screen/syn-map {
root html/msh;
index index.html index.htm;
}
}
//...****
}