log.gz files served with missing content encoding
The log.gz files from f-droid.org are offered for download but should be shown inside the browser. It works on bubu1.eu/fdroid/repo.
Working:
$ curl -I https://bubu1.eu/fdroid/repo/info.metadude.android.divoc.schedule_75.log.gz
HTTP/2 200
server: nginx/1.19.2
date: Mon, 31 Aug 2020 16:33:28 GMT
content-type: application/gzip
content-length: 424
last-modified: Sun, 30 Aug 2020 16:43:08 GMT
etag: "5f4bd71c-1a8"
content-type: text/plain
content-encoding: x-gzip
accept-ranges: bytes
Not working:
$ curl -I https://f-droid.org/repo/info.metadude.android.divoc.schedule_75.log.gz
HTTP/1.1 200 OK
Date: Mon, 31 Aug 2020 16:34:43 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
Last-Modified: Sun, 30 Aug 2020 16:43:08 GMT
ETag: "1a8-5ae1afb1a2d81"
Accept-Ranges: bytes
Content-Length: 424
Content-Encoding: x-gzip
Via: 1.1 f-droid.org (Apache/2.4.25)
Content-Type: application/x-gzip
The settings in .htaccess seem correct for f-droid.org (here) but the settings don't apply in production. Someone with webserver access would need to debug this.