nginx优化参数

worker_rlimit_nofile #;

指定一个worker进程所能够打开的最大文件句柄数;

worker_rlimit_sigpending #;

设定每个用户能够发往worker进程的信号的数量;

log_not_found on|off

是否将文件找不到的信息也记录进错误日志中;

server_tokens on|off;

是否在错误页面中显示nginx的版本号;

access_log /spool/logs/nginx-access.log compression buffer=32k

日子缓存的设定

目前评论: 1 条  其中:访客 1 条  博主 0 条

  1. http://jennykaufusi.wordpress.com/ http://jennykaufusi.wordpress.com/ 【农民】

    I leave a comment when I like a post on a website or I
    have something to contribute to the conversation. Usually it is triggered
    by the passion communicated in the post I browsed. And on this
    post nginx优化参数 | Linux点滴记录. I was moved enough to create a thought :
    -) I actually do have a couple of questions for you if it’s allright.
    Could it be only me or does it seem like some of
    these remarks appear like they are left by brain dead individuals?
    :-P And, if you are writing on additional social
    sites, I’d like to follow everything new you
    have to post. Would you list all of all your community sites like your Facebook page,
    twitter feed, or linkedin profile?

发表评论


表情