nginxでHTTP/3を使う方法 2023年5月版 2023/05/20に公開 https://zenn.dev/catatsuy/articles/71609eff5611e4

Leveraging HTTP/3 with Nginx: A Step-By-Step Guide (old?)

https://codedamn.com/news/backend/leveraging-http3-with-nginx

電子版アプリAPIでのHTTP/3対応と現在のHTTP/3アクセス状況 2022/12/17 (Sat) https://hack.nikkei.com/blog/advent20221217/#HTTP/3%E3%81%AE%E5%88%A9%E7%94%A8%E7%8A%B6%E6%B3%81

1. debug log

https://nginx.org/en/docs/debugging_log.html

/debug

2. conoha.conf

server {
    listen 443 ssl;
    listen 443 quic reuseport;
    server_name  moin.qmail.jp;
    ssl_certificate     /etc/letsencrypt/live/qmail.jp-0001/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/qmail.jp-0001/privkey.pem;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers "TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY
1305_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384";
    ssl_prefer_server_ciphers on;
    #ssl_quic on;
    ssl_early_data on;

別にブラウザがHTTP/3を有効にするためにはAlt-Svcヘッダーが基本的に必要なので、 以下のヘッダーも忘れずに追加します。

add_header Alt-Svc 'h3=":443"';

http://nginx.org/en/docs/http/ngx_http_headers_module.html

https record で通知するのもできるとか。-- ToshinoriMaeno 2023-11-19 14:53:02


CategoryDns CategoryWatch CategoryTemplate

MoinQ: nginx/1.25.3/HTTP/3 (last edited 2023-11-20 04:37:30 by ToshinoriMaeno)