31 lines
605 B
Nginx Configuration File
31 lines
605 B
Nginx Configuration File
server {
|
|
gzip on;
|
|
gzip_types
|
|
application/atom+xml
|
|
application/geo+json
|
|
application/javascript
|
|
application/x-javascript
|
|
application/json
|
|
application/ld+json
|
|
application/manifest+json
|
|
application/rdf+xml
|
|
application/rss+xml
|
|
application/xhtml+xml
|
|
application/xml
|
|
font/eot
|
|
font/otf
|
|
font/ttf
|
|
image/svg+xml
|
|
text/css
|
|
text/javascript
|
|
text/plain
|
|
text/xml;
|
|
gzip_min_length 256;
|
|
listen 80;
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
|
|
try_files $uri /200.html;
|
|
}
|
|
}
|