proxy_buffers 16 16k; proxy_buffer_size 16k; code example
Example 1: proxy_buffers 16 16k; proxy_buffer_size 16k;
curl --compressed -so /dev/null https://example.com/ -w '%{size_download}'
Example 2: proxy_buffers 16 16k; proxy_buffer_size 16k;
curl -so /dev/null https://example.com/ -w '%{size_download}'
Example 3: proxy_buffers 16 16k; proxy_buffer_size 16k;
proxy_buffer_size 12k;
Example 4: proxy_buffers 16 16k; proxy_buffer_size 16k;
curl -s -w \%{size_header} -o /dev/null http://localhost -H "Host: example.com"
Example 5: proxy_buffers 16 16k; proxy_buffer_size 16k;
curl -s -w \%{size_header} -o /dev/null https://example.com