server { listen 8092; # nginx 监听端口 server_name 192.168.1.73 localhost; #服务器地址 location / { root E:/nginx-1.15.0/cx; #静态html文件存放目录地址 index index.html index.htm; #默认首页 } }