ドキュメント
a プロジェクト

abort

HTTPハンドラーチェーンを直ちに中止し、接続を閉じることで、クライアントへのレスポンスを防止します。同一接続上のアクティブなHTTPストリームは中断されます。

構文

abort [<matcher>]

ワイルドカード証明書を使用しているときに、不明なドメイン宛に受信した接続を強制的に終了

*.example.com {
    @foo host foo.example.com
    handle @foo {
        respond "This is foo!" 200
    }

    handle {
		# Unhandled domains fall through to here,
		# but we don't want to accept their requests
        abort
    }
}