nginx.conf
worker_processes 1;
events {
worker_connections 1024;
}
http {
server {
server_name localhost;
listen 8081;
location ~ / {
root /Users/lucaswang/Code/react-browser-router-project-deploy/nginx-deployment/build;
try_files $uri /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}