ini nginx.conf
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ini nginx.conf相关的知识,希望对你有一定的参考价值。
user <username> staff;
worker_processes 1;
error_log /usr/local/var/log/nginx/error.log debug;
events {
worker_connections 1024;
}
http {
server_names_hash_bucket_size 128;
include mime.types;
default_type application/octet-stream;
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 /usr/local/var/log//nginx/access.log main;
sendfile on;
keepalive_timeout 65;
index index.html index.php;
include /usr/local/etc/nginx/sites-enabled/*;
}
以上是关于ini nginx.conf的主要内容,如果未能解决你的问题,请参考以下文章
ini 为nginx改变了prerender.io nginx.conf
ini nginx.conf
ini Nginx conf
ini nginx.conf
ini nginx.conf
ini Nginx Conf - Gzip