server{
listen 80;
listen [::]:80;
server_name 站点名称
root本地站点路径
index index.html index.htm;
location / {
proxy_pass http://127.0.0.1:1234; //反向代理 node 监听的端口
include proxy_params;
}