blob: 7d359293ddfca8eeba96e18759f9ef55d7789730 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
events {
use epoll;
}
pid /dev/null;
error_log /dev/null;
http {
include nginx.gen.conf;
access_log /dev/null;
error_log stderr info;
client_body_temp_path /dev/null;
types {
application/font-woff woff;
application/javascript js;
application/json json;
application/x-font-ttf ttf;
audio/mp4 m4a;
"audio/ogg; codecs=vorbis" ogg;
"audio/ogg; codecs=opus" opus;
audio/wave wav;
image/jpeg jpg;
image/png png;
image/svg+xml svg;
image/webp webp;
text/cache-manifest appcache;
text/css css;
"text/html; charset=utf-8" html;
video/mp4 mp4;
video/ogg ogv;
video/webm webm;
video/x-matroska mkv;
}
default_type application/octet-stream;
gzip on;
gzip_types application/javascript application/json image/svg+xml text/plain text/css;
gzip_vary on;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
index index.html;
server {
listen 8080;
root www;
include nginx.inc.conf;
}
}
# vim:ft=nginx:
|