From 1965b4a614a1a9ccc88a6fcdcc13c19a12534520 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 27 Apr 2026 09:58:01 +0900 Subject: feat(nginx): enable gzip compression --- services/nuldoc/nginx.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'services') 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; -- cgit v1.3.1