blob: 110fa02361f953df8244fb7c40bae97276b3e818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# {{ ansible_managed }}
user nginx;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx/nginx.pid;
worker_processes auto;
worker_rlimit_nofile 65535;
events {
worker_connections 4096;
use epoll;
multi_accept on;
}
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 /var/log/nginx/access.log main;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
server_tokens off;
keepalive_timeout 65;
client_body_buffer_size 512k;
client_max_body_size 64M;
default_type application/octet-stream;
include /etc/nginx/mime.types;
include /etc/nginx/http.d/*.conf;
}
|