j...@carnat.net (Joel Carnat), 2023.03.10 (Fri) 17:41 (CET): > Le 10/03/2023 à 16:41, Marcus MERIGHI a écrit : > > j...@carnat.net (Joel Carnat), 2023.03.10 (Fri) 02:31 (CET): > > > I just tried applying gzip compression on a simple test web site using > > > httpd > > > and the gzip-static option ; using OpenBSD 7.2/amd64. > > > > > > As I understood the man page, gzip-static is supposed to be used inside > > > the > > > server block ; like listen, errdocs or tls. But doing so does not seem to > > > enable gzip compression for files defined in a location block. > > > > You have to provide the .gz file manually. > > Well, the .gz file does exist. > And I can switch from working state to non-working state by just moving the > gzip-static option from inside the location section to outside of it (still > inside the server section).
Sorry for the noise then, I completely missed that in your OP. Marcus