Skip to content

Commit

Permalink
Read pre-compressed gzip files
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-flam committed Feb 8, 2022
1 parent 1af89b7 commit 010cdf5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions services/nginx/conf.d/qaboard.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ server {
autoindex on;
access_log off;
include cors;
# let users save precompressed $file.gz
# using "gzip $file" or https://github.com/google/zopfli
gzip_static on;
# https://stackoverflow.com/questions/33375304/what-are-the-options-for-the-gzip-proxied-directive-for
# gzip_proxied expired no-cache no-store private auth;
# for clients that don't support gzip if only that version is available
gunzip on;
}

# IIIF Cantaloupe Server
Expand Down

0 comments on commit 010cdf5

Please sign in to comment.