diff --git a/README.md b/README.md index da639c0..94b2a0b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > A modern web interface for OwnTracks made with Vue.js - +[](https://hub.docker.com/r/owntracks/frontend)
diff --git a/nginx.tmpl b/nginx.tmpl
index dcdbd4c..05a5541 100644
--- a/nginx.tmpl
+++ b/nginx.tmpl
@@ -22,6 +22,14 @@ http {
include /etc/nginx/mime.types;
try_files $uri $uri/index.html;
}
+
+ gzip on;
+ gzip_vary on;
+ gzip_proxied any;
+ gzip_comp_level 6;
+ gzip_buffers 16 8k;
+ gzip_http_version 1.1;
+ gzip_types text/plain text/css application/json application/javascript text/javascript;
}
}