diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2025-07-09 19:02:09 +0400 |
---|---|---|
committer | pluknet <pluknet@nginx.com> | 2025-08-03 19:15:16 +0400 |
commit | 251444fcf4434bfddbe3394a568c51d4f7bd857f (patch) | |
tree | 0ce5a7855799986f3370c93aba5a2cf8cf43134f /src/http/v2/ngx_http_v2.h | |
parent | ed99269eed283e474590bbe951bad1d74b721955 (diff) | |
download | nginx-master.tar.gz nginx-master.zip |
The ssl_certificate_compression directive allows to send compressed
server certificates. In OpenSSL, they are pre-compressed on startup.
To simplify configuration, the SSL_OP_NO_TX_CERTIFICATE_COMPRESSION
option is automatically cleared if certificates were pre-compressed.
SSL_CTX_compress_certs() may return an error in legitimate cases,
e.g., when none of compression algorithms is available or if the
resulting compressed size is larger than the original one, thus it
is silently ignored.
Certificate compression is supported in Chrome with brotli only,
in Safari with zlib only, and in Firefox with all listed algorithms.
It is supported since Ubuntu 24.10, which has OpenSSL with enabled
zlib and zstd support.
The actual list of algorithms supported in OpenSSL depends on how
the library was configured; it can be brotli, zlib, zstd as listed
in RFC 8879.
Diffstat (limited to 'src/http/v2/ngx_http_v2.h')
0 files changed, 0 insertions, 0 deletions