1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server {
listen 80;
listen [::]:80;
server_name _;
access_log /var/log/nginx/host.access.log main;
gzip on;
gzip_comp_level 6;
gzip_types
text/html
text/css
application/javascript
image/svg+xml;
root /usr/share/nginx/html;
error_page 404 /404.html;
location / {
index index.html;
}
}