2018-07-26 Configure Nginx on Wi
作者:
猪迹 | 来源:发表于
2018-07-26 22:04 被阅读0次
- Download the zip-file from the official site.
- Un-zip the files into a folder, like
E:\Downloads\nginx
- Follow the beginner's guide to learn basic of Nginx
- Below is the final
nginx.conf
e:\Downloads\tools\nginx\conf>type nginx.conf
#user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
http {
server {
listen 8081;
location /{
root e:/Downloads/tools/nginx/html/data/www;
}
location /images/{
root e:/Downloads/tools/nginx/html/data/;
}
}
}
Reference
本文标题:2018-07-26 Configure Nginx on Wi
本文链接:https://www.haomeiwen.com/subject/zrmbmftx.html
网友评论