Skip to the content.

NGINX: TCP Fast-Open

Recipes

# /etc/sysctl.d/30-nginx.conf

net.ipv4.tcp_fastopen = 3
systemctl restart procps.service
http {
    tcp_fastopen on;
}

server {
    listen 443 ssl fastopen=3 http2 default_server;
}

More

References