zoukankan      html  css  js  c++  java
  • nginx安装目录文件

    nginx安装目录

      conf 存放nginx的配置文件

        在修改配置文件nginx.conf之前,一般先备份cp nginx.conf nginx.conf.bak

      html 存放前端文件的

        默认带有首页index.html和f服务器错误提示50x.html页面

      logs 存放nginx的日志文件

         error.log:错误日志,在conf/nginx.conf文件中可以进行配置

               #error_log logs/error.log;

            #error_log logs/error.log notice;

            #error_log logs/error.log info;

            #error_log "pipe:rollback logs/error_log interval=1d baknum=7 maxsize=2G";

        access.log:请求日志,在conf/nginx.conf文件的http{}中可以进行配置 

            #log_format main '$remote_addr - $remote_user [$time_local] "$request" '

            # '$status $body_bytes_sent "$http_referer" '

            # '"$http_user_agent" "$http_x_forwarded_for"';

            #access_log logs/access.log main;

            #access_log "pipe:rollback logs/access_log interval=1d baknum=7 maxsize=2G" main;

      sbin 存放了nginx的可执行命令

        nginx命令,安装之后在PATH环境变量进行配置

        

  • 相关阅读:
    12306.cn网站自动登录器源代码
    从IL看C#
    CanvasRenderingContext2Dhtml5的关键
    慎用Response.Write()
    JPanel 的getGraphics
    怎么用swing绘图
    Win7 双硬盘启动出错处理
    paint repaint实现动画
    多线程一例
    画图,橡皮
  • 原文地址:https://www.cnblogs.com/open-yang/p/11253372.html
Copyright © 2011-2022 走看看