Skip to content

Commit 11f2c33

Browse files
committed
gzip fix for RDF documents
1 parent c901a0d commit 11f2c33

File tree

2 files changed

+4
-52
lines changed

2 files changed

+4
-52
lines changed

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ configs:
223223
ssl_verify_client ${NGINX_SSL_VERIFY_CLIENT:-optional_no_ca};
224224
225225
location / {
226+
gzip off; # disable gzip for dynamic content to preserve strong ETags for If-Match
227+
226228
add_header Access-Control-Allow-Origin "*" always;
227229
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS" always;
228230
add_header Access-Control-Allow-Headers "Accept, Content-Type, Authorization" always;
@@ -285,6 +287,8 @@ configs:
285287
ssl_verify_client optional_no_ca;
286288
287289
location / {
290+
gzip off; # disable gzip for dynamic content to preserve strong ETags for If-Match
291+
288292
add_header Access-Control-Allow-Origin "*" always;
289293
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS" always;
290294
add_header Access-Control-Allow-Headers "Accept, Content-Type, Authorization" always;

http-tests/misc/gzip-rdfxml.sh

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)