enable gzip

This commit is contained in:
Nicholas Orlowsky 2022-02-03 17:22:33 -06:00
parent f4aa50fce0
commit 9e10bfc74f
No known key found for this signature in database
GPG key ID: DA69F4D62590FB49

View file

@ -1,4 +1,26 @@
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;