2 Jul 2020 |
jochensp | oh, too easy :D | 13:14:44 |
cdesai | also convert it to nginx while you're at it /s | 13:15:48 |
jochensp | yeah.. sure :D | 13:16:09 |
jochensp | maybe we could allow browsing /repo | 13:16:31 |
_hc | nginx doesn't support the localization stuff we need | 13:18:33 |
| * cdesai was just kidding | 13:19:13 |
| * Bubu is in this very moment converting various services from apache to nginx | 13:19:45 |
cdesai | Bubu: awesome. that's why it's nice to have a report :P | 13:20:09 |
Bubu | (not f-droid stuff) | 13:20:25 |
Bubu | (I have no access to this) | 13:20:31 |
cdesai | jochensp: did you see https://gitlab.com/fdroid/fdroid-website/-/blob/master/.htaccess#L38 ? | 13:21:25 |
cdesai | it just tries to download it anywhere here on chrome | 13:21:42 |
jochensp | cdesai: yeah, same for me | 13:22:10 |
Bubu | https://stackoverflow.com/a/30323200/1634837 | 13:24:47 |
Bubu | maybe? | 13:24:49 |
Bubu | so possibly having it gzipped but not with .gz extension would work | 13:25:51 |
_hc | it needs the .gz extension since they are mirrors and used elsewhere | 13:28:41 |
Bubu | jochensp: cdesai https://bubu1.eu/fdroid/repo/org.fdroid.fdroid_1009000.log | 13:58:19 |
Bubu | that works without the .gz extension | 13:58:27 |
Bubu | (it'll be removed with the next mirror sync in 10 min) | 13:58:44 |
jochensp | yeah, but I agree with hc that we should keep the .gz | 13:59:13 |
jochensp | hm.. actually, not sure | 13:59:25 |
jochensp | (sorry still at $dayjob, will have a look later) | 13:59:54 |
Bubu | https://bubu1.eu/fdroid/repo/org.fdroid.fdroid_1009000.log.gz | 14:00:56 |
Bubu | that works now as well | 14:00:59 |
_hc | I'm pretty sure Apache can serve .gz files as gzip encoding, but I do remember trying, and it was harder than expected | 14:01:30 |
jochensp | Bubu: and it's still .gz using wget, so that would be ideal | 14:01:48 |
Bubu | bubu@bubutux:~$ curl -I https://f-droid.org/repo/org.fdroid.fdroid_1009000.log.gz
HTTP/1.1 200 OK
Date: Thu, 02 Jul 2020 14:04:16 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
Last-Modified: Tue, 30 Jun 2020 17:11:03 GMT
ETag: "2ef-5a9504295dbc2"
Accept-Ranges: bytes
Content-Length: 751
Content-Encoding: x-gzip
Via: 1.1 f-droid.org (Apache/2.4.25)
Age: 3884
Content-Type: application/x-gzip
| 14:04:33 |
Bubu | vs | 14:04:35 |
Bubu | bubu@bubutux:~$ curl -I https://bubu1.eu/fdroid/repo/org.fdroid.fdroid_1009000.log.gz
HTTP/2 200
date: Thu, 02 Jul 2020 14:04:49 GMT
server: Apache/2.4.43 (Unix) OpenSSL/1.1.1g
strict-transport-security: max-age=15768000
last-modified: Tue, 30 Jun 2020 17:11:03 GMT
etag: "2ef-5a9504295dbc2"
accept-ranges: bytes
content-length: 751
content-type: text/plain
content-encoding: x-gzip
| 14:04:58 |