-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf
43 lines (30 loc) · 829 Bytes
/
nginx.conf
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
34
35
36
37
38
39
40
41
42
43
user www-data;
worker_processes 1;
pid /var/run/nginx.pid;
events {
worker_connections 2048;
# multi_accept on;
}
http {
charset utf-8;
server_names_hash_bucket_size 64;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
include /etc/nginx/mime.types;
sendfile on;
#tcp_nopush on;
#client_body_buffer_size 1K;
#client_header_buffer_size 8k;
#client_max_body_size 1k;
#large_client_header_buffers 2 1k;
client_body_timeout 10;
client_header_timeout 10;
# keepalive_timeout 5 5;
#send_timeout 10;
#tcp_nodelay on;
server_tokens off;
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}