nginx内部文件
client_body_temp :只是个目录
conf :默认的配置文件
fastcgi_temp :只是个目录
html :包含两个网页50x.html index.html
logs :日志文件,包含三个access.log error.log nginx.pid
proxy_temp :只是个目录
sbin :包含二进制文件nginx
scgi_temp :只是个目录
uwsgi_temp :只是个目录
大体上,可以操作的有
conf:这个里边最重要的是nginx.conf
fastcgi.conf koi-utf nginx.conf uwsgi_params
fastcgi.conf.default koi-win nginx.conf.default uwsgi_params.default
fastcgi_params mime.types scgi_params win-utf
fastcgi_params.default mime.types.default scgi_params.default
nginx.conf负责编写用户与服务的交互端口信息,可以修改与用户交互的一个工作区,以及端口,和使用新的服务器的ip,实现多个nginx达到网络流量的负载均衡
html:一般这个地方都是用来放置自己的网站,所有的发布网站基本放于这个地方
50x.html index.html
[root@node5 html]# cat 50x.html
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
[root@node5 html]# cat index.html
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.
logs:
access.log error.log nginx.pid
这个也不用怎么操作,只需要查看下日志的具体信息有谁登陆,出错情况,以及nginx的进程情况
sbin:因为是二进制文件,所以是已经编译过的,不用操作