2021-08-16 13:28:51 -07:00

14 lines
308 B
Plaintext

# Speed up file transfer by using sendfile().
sendfile on;
# Don't send partial frames, which increases throughput.
tcp_nopush on;
# Don't wait to send data in keep-alive state.
tcp_nodelay on;
# Check if web browser supports WebP images
map $http_accept $webp_suffix {
default "";
"~*webp" ".webp";
}