Comments (4)
开启XQUIC
-
需要使用root用户
user root; -
H3协议默认使用TLS 1.3,使用XQUIC证书指令,配置默认H3证书
参考:
https://github.com/alibaba/tengine/blob/master/modules/ngx_http_xquic_module/README.md
可以打开debug级别日志,查看具体的报错信息。
from tengine.
开启XQUIC
- 需要使用root用户
user root;- H3协议默认使用TLS 1.3,使用XQUIC证书指令,配置默认H3证书
参考: https://github.com/alibaba/tengine/blob/master/modules/ngx_http_xquic_module/README.md
可以打开debug级别日志,查看具体的报错信息。
你好,我是用root用户跑的,xquic_ssl_certificate和xquic_ssl_certificate_key也在https配置内有配置,debug模式开启了,没有多余其它的报错
user root root;
worker_processes auto;
pid /data/app/tengine/pid/nginx.pid;
events {
worker_connections 65536;
use epoll;
}
xquic_log "pipe:rollback /data/app/tengine/logs/tengine-xquic.log baknum=10 maxsize=1G interval=1d adjust=600" debug;
http {
##http3
xquic_ssl_certificate /data/app/tengine/ssl/域名.key;
xquic_ssl_certificate_key /data/app/tengine/ssl/域名.pem;
xquic_congestion_control bbr;
xquic_socket_rcvbuf 5242880;
xquic_socket_sndbuf 5242880;
xquic_anti_amplification_limit 5;
server {
listen 80 default_server reuseport backlog=4096;
listen 443 default_server reuseport backlog=4096 ssl http2;
listen 443 default_server reuseport backlog=4096 xquic;
server_name aa.域名;
add_header Alt-Svc 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000' always;
error_log /data/app/tengine/logs/error-xquic.log debug;
ssl_certificate /data/app/tengine/ssl/域名.pem;
ssl_certificate_key /data/app/tengine/ssl/域名.key;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
location / {
return 444 "quic";
}
}
}
from tengine.
在配置文件main段 设置 日志指令 error_log
看下具体的报错信息
error_log "pipe:rollback /data/app/tengine/logs/tengine-error.log baknum=10 maxsize=2G interval=1d adjust=600" debug;
xquic_log "pipe:rollback /data/app/tengine/logs/tengine-xquic.log baknum=10 maxsize=1G interval=1d adjust=600" info;
from tengine.
在配置文件main段 设置 日志指令 error_log
看下具体的报错信息
error_log "pipe:rollback /data/app/tengine/logs/tengine-error.log baknum=10 maxsize=2G interval=1d adjust=600" debug; xquic_log "pipe:rollback /data/app/tengine/logs/tengine-xquic.log baknum=10 maxsize=1G interval=1d adjust=600" info;
多谢,通过开启error_log的debug模式找到原因了,是我证书配反了,已解决
from tengine.
Related Issues (20)
- 关于tengine时间变量的问题 HOT 6
- 使用xquic 1.6.2时,编译tengine时报错 HOT 3
- 新版本tengine3+,lua 报错 HOT 4
- upstream keepalive配置在使用dyups更新upstream后失效问题 HOT 2
- trim on; not worked HOT 2
- Pls. refer to doc [Ngx_http_trim_filter](https://tengine.taobao.org/document/http_trim_filter.html) specifically. HOT 7
- 安装ngx_http_xquic_module模块报错:modules/ngx_http_xquic_module/ngx_http_xquic.c:24:37: fatal error: ngx_http_lua_ssl_certby.h: No such file or directory HOT 5
- dubbo 连接瞬间超时 HOT 13
- Tengine ngx_http_reqstat_module在统计信息时出现问题
- nginx实现一个对外端口同时支持tls和quic协议访问(第四层,并非第7层 HOT 1
- Tengine是否支持QUIC以及是否支持在QUIC中使用国密套件? HOT 4
- ngx_stream_multi_upstream_module 应用示例 HOT 1
- Reverse proxy Too much Tcp Connection issue HOT 3
- Tengine with XQUIC will buffer the entire response body into RAM HOT 2
- Tengine 3.1.0 中 ngx_http_upstream_check_module 和 ngx_http_upstream_dynamic_module 配合使用 Bug HOT 1
- Tengine属于信创软件吗? HOT 3
- Support ssl_ciphers with Chinese SM2, SM3, SM4, ZUC and etc. in HTTP3 HOT 1
- tengine+xquic+tongsuo+QAT性能无提升
- YoReader 404 Not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tengine.