server { listen [::]:80 fastopen=1024 default_server; listen *:80 fastopen=1024 default_server; listen [::]:443 fastopen=1024 ssl http2; # No default_server here unless certificate specified here too. listen *:443 fastopen=1024 ssl http2; # No default_server here unless certificate specified here too. server_name _; default_type text/html; return 404 '