- 下载
http://nginx.org/en/download.html
- 解压
- 运行
nginx.exe
- 打开网页
- 查看配置文件
conf\nginx.conf
server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; }
这里的/,指的是目录html
http://nginx.org/en/download.html
nginx.exe
conf\nginx.conf
server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; }
这里的/,指的是目录html