Nginx基础篇-Nginx所有配置文件
/etc/logrotate.d/nginx ---- 日志轮转
/etc/nginx/nginx.conf ----总配置文件
/etc/nginx/conf.d ----子配置文件夹
/etc/nginx/conf.d/default.conf ----默认的网站配置文件
/etc/nginx/fastcgi_params ----动态网站模块文件-python,php所需的相关变量
/etc/nginx/scgi_params
/etc/nginx/uwsgi_params
/etc/nginx/koi-utf----字符集,文件编码
/etc/nginx/win-utf
/etc/nginx/koi-win
/etc/nginx/mime.types ----文件关联程序、网站文件类型 和 相关处理程序
/etc/nginx/modules ----模块文件夹。第三方模块
/etc/nginx/nginx.conf----主配置
/etc/sysconfig/nginx
# Configuration file for the nginx service.
NGINX=/usr/sbin/nginx
CONFFILE=/etc/nginx/nginx.conf
/etc/sysconfig/nginx-debug
# Configuration file for the nginx-debug service.
NGINX=/usr/sbin/nginx-debug
CONFFILE=/etc/nginx/nginx.conf
LOCKFILE=/var/lock/subsys/nginx-debug
/usr/lib/systemd/system/nginx-debug.service----nginx调试程序启动脚本
/usr/lib/systemd/system/nginx.service systemctl----服务脚本。
/usr/sbin/nginx ----主程序
/usr/sbin/nginx-debug----nginx调试程序
/usr/share/doc/nginx-1.12.1----文档
/usr/share/doc/nginx-1.12.1/COPYRIGHT
/usr/share/man/man8/nginx.8.gz---- man 手册
/usr/share/nginx
/usr/share/nginx/html
/usr/share/nginx/html/50x.html
/usr/share/nginx/html/index.html----默认主页
/var/cache/nginx
缓存各种
ls /var/cache/nginx/
client_temp fastcgi_temp proxy_temp scgi_temp uwsgi_temp
/var/log/nginx
日志文件夹
ls /var/log/nginx/
access.log error.log
/usr/lib64/nginx----Nginx模块目录