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; #默认首页
}
}
windows环境下,nginx 配置静态网站页面
最新推荐文章于 2023-05-31 18:44:32 发布