diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-04-27 09:58:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-04-27 09:58:01 +0900 |
| commit | 1965b4a614a1a9ccc88a6fcdcc13c19a12534520 (patch) | |
| tree | 94c4be5de8f300ce934dd27217306ef33e9a31e9 /services | |
| parent | 27705f555967c7cec0a11c6eabdb6d702a2e30aa (diff) | |
| download | nsfisis.dev-1965b4a614a1a9ccc88a6fcdcc13c19a12534520.tar.gz nsfisis.dev-1965b4a614a1a9ccc88a6fcdcc13c19a12534520.tar.zst nsfisis.dev-1965b4a614a1a9ccc88a6fcdcc13c19a12534520.zip | |
feat(nginx): enable gzip compression
Diffstat (limited to 'services')
| -rw-r--r-- | services/nuldoc/nginx.conf | 16 |
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; |
