-
Notifications
You must be signed in to change notification settings - Fork 3
/
default.conf
38 lines (33 loc) · 1.14 KB
/
default.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
server {
listen 80 default;
server_name localhost;
root /var/www/html;
charset utf-8;
disable_symlinks off;
index index.html;
access_log off;
error_log off;
sendfile on;
tcp_nodelay on;
tcp_nopush on;
keepalive_timeout 120s;
gzip on;
gzip_http_version 1.0;
gzip_disable “MSIE [1-6].(?!.*SV1)”;
gzip_comp_level 1;
gzip_proxied any;
gzip_vary on;
gzip_buffers 4 8k;
gzip_min_length 1100;
gzip_types text/plain
text/xml
text/css
application/xml
application/xhtml+xml
application/rss+xml
application/atom_xml
application/json
application/javascript
application/x-javascript
application/x-httpd-php;
}