@
v2clay #6
这是我之前架的时候用的,Alt-Svc 只加了 h3-29 和对应的 max-age,没加 QUIC-Status header. 刚试了一下,还是可以正常走 QUIC
```
server {
listen 443 ssl;
listen 443 http3 reuseport;
listen [::]:443 ssl;
listen [::]:443 http3 reuseport;
server_name
abc.xyz;
ssl_protocols TLSv1.3;
ssl_certificate /etc/letsencrypt/live/
abc.xyz/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/
abc.xyz/privkey.pem; error_page 497 =307 https://$host$request_uri;
add_header Alt-Svc 'h3-29=":443"; ma=86400';
location / {
proxy_pass http://localhost:8080;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
```
Chrome dev tools:
可能需要刷新一次才会显示 QUIC.