parent
3e9fbe032b
commit
222479109f
@ -0,0 +1,34 @@ |
|||||||
|
user {{ nginx_user }}; |
||||||
|
|
||||||
|
error_log /var/log/nginx/error.log warn; |
||||||
|
pid /var/run/nginx.pid; |
||||||
|
|
||||||
|
worker_processes {{ nginx_worker_processes }}; |
||||||
|
|
||||||
|
events { |
||||||
|
worker_connections {{ nginx_worker_connections }}; |
||||||
|
} |
||||||
|
|
||||||
|
http { |
||||||
|
include /etc/nginx/mime.types; |
||||||
|
default_type application/octet-stream; |
||||||
|
|
||||||
|
server_names_hash_bucket_size 64; |
||||||
|
|
||||||
|
client_max_body_size {{ nginx_client_max_body_size }}; |
||||||
|
|
||||||
|
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 /var/log/nginx/access.log main buffer=16k; |
||||||
|
|
||||||
|
sendfile on; |
||||||
|
#tcp_nopush on; |
||||||
|
|
||||||
|
keepalive_timeout {{ nginx_keepalive_timeout }}; |
||||||
|
|
||||||
|
#gzip on; |
||||||
|
|
||||||
|
include /etc/nginx/conf.d/*.conf; |
||||||
|
} |
@ -0,0 +1,6 @@ |
|||||||
|
--- |
||||||
|
nginx_user: "nginx" |
||||||
|
nginx_worker_processes: "1" |
||||||
|
nginx_worker_connections: "1024" |
||||||
|
nginx_client_max_body_size: "64m" |
||||||
|
nginx_keepalive_timeout: "65" |
Reference in new issue