1,
is accessible for static pages when I configure only static directories.
when doing development, the server port is 8999, and the project port is 3000.
now deploy to linux, do a simple proxy with nginx
2, only set
location / {
root html;
index index.html;
-sharp url index.html
try_files $uri /index.html;
}
you can visit the static page
3
Nginx
Resources