mirror of
https://github.com/owntracks/frontend.git
synced 2026-08-23 11:26:16 +00:00
Merge pull request #11 from sharkoz/patch-1
Enable compression for faster download of history
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
> A modern web interface for OwnTracks made with Vue.js
|
||||
|
||||

|
||||
[](https://hub.docker.com/r/owntracks/frontend)
|
||||
|
||||
<p style="text-align: center;">
|
||||
<img src="docs/images/owntracks-ui.png" alt="OwnTracks UI">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user