zoukankan      html  css  js  c++  java
  • (003)Nginx编译配置参数讲解

      查看安装编译参数命令:

    nginx -V

      

      编译选项说明:

    编译选项

    作用

    --prefix=/etc/nginx
    --sbin-path=/usr/sbin/nginx
    --modules-path=/usr/lib64/nginx/modules
    --conf-path=/etc/nginx/nginx.conf
    --error-log-path=/var/log/nginx/error.log
    --http-log-path=/var/log/nginx/access.log
    --pid-path=/var/run/nginx.pid
    --lock-path=/var/run/nginx.lock

    安装目的目录或路径

    --http-client-body-temp-path=/var/cache/nginx/client_temp
    --http-proxy-temp-path=/var/cache/nginx/proxy_temp
    --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
    --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
    --http-scgi-temp-path=/var/cache/nginx/scgi_temp

    执行对应模块时,Nginx所保留的临时性文件

    --user=nginx
    --group=nginx

    设定Nginx进程启动的用户和组用户
    --with-cc-opt=parameters

    设置额外的参数将被添加到CFLAGS变量

    --with-ld-opt=parameters

    设置附加的参数,链接系统库

  • 相关阅读:
    机器学习
    octave安装使用
    学习pytorch
    安装Pytorch
    下载软件的好地方
    python 内置模块time timedate random
    关于git
    python软件目录结构规范
    python 内置参数
    test
  • 原文地址:https://www.cnblogs.com/javasl/p/12817387.html
Copyright © 2011-2022 走看看