aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--services/nuldoc/nginx.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/services/nuldoc/nginx.conf b/services/nuldoc/nginx.conf
index 981aaffc..29ff8fc1 100644
--- a/services/nuldoc/nginx.conf
+++ b/services/nuldoc/nginx.conf
@@ -51,6 +51,22 @@ server {
listen 80 default;
listen [::]:80;
+ gzip on;
+ gzip_vary on;
+ gzip_comp_level 6;
+ gzip_min_length 1024;
+ gzip_proxied any;
+ gzip_types
+ application/atom+xml
+ application/javascript
+ application/json
+ application/xml
+ image/svg+xml
+ text/css
+ text/markdown
+ text/plain
+ text/xml;
+
location / {
root $docroot_path;