Home > front end >  Will react project deployment in nginx server, access is always nginx welcome screen
Will react project deployment in nginx server, access is always nginx welcome screen

Time:10-01

The react on local projects with NPM can start run
Reoccupy nom run build package, will build files uploaded to the server after the packaging/usr/local directory
Then nginx/conf/nginx. Conf configuration to below
Results access public IP or nginx welcome screen

There is no nodejs server and NPM
Think impassability, but through the IP/build/index. The HTML can access to the project but only a blank screen
  • Related