Never Nop Tech

Never Nop Tech

分享軟體、旅遊、生活。

reactjs nginx配置

reactjs nginx配置

server {
  listen 80 ;
  root /var/www/html/reactjs-practice/project/build;
  index index.html;
  server_name react-demo.never-nop.com;
  location / {
    try_files $uri /index.html;
  }
}