forked from inloop/cra-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
nginx.vh.default.conf
64 lines (62 loc) · 1.37 KB
/
nginx.vh.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
server {
listen 80;
server_name localhost;
gzip on;
gzip_disable "MSIE [1-6].(?!.*SV1)";
gzip_buffers 16 4k;
gzip_vary on;
gzip_proxied any;
gzip_min_length 256;
gzip_types
application/ecmascript
application/javascript
application/json
application/pdf
application/postscript
application/font-woff
application/font-woff2
application/x-javascript
application/vnd.ms-fontobject
application/x-font-opentype
application/x-font-truetype
application/x-font-ttf
application/xml
image/gif
image/jpeg
image/png
image/svg+xml
image/tiff
image/vnd.microsoft.icon
image/x-icon
image/webp
text/x-component
text/x-js
text/css
text/csv
text/javascript
text/plain
text/xml
text/xsd
text/xsl
font/eot
font/opentype
font/otf
font/woff
font/woff2
video/3gpp
video/mp4
video/mpeg
video/ogg
video/quicktime
video/webm
video/x-flv
video/x-mng
video/x-ms-asf
video/x-ms-wmv
video/x-msvideo;
location / {
root /app;
index index.html index.htm;
try_files $uri /index.html;
}
}