Install any skill in seconds. Free to start, no credit card required.
Get Started Free →yangge521/nginx-config
Nginx 反向代理与负载均衡配置,包含 SSL 配置、流媒体代理、性能调优
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
1 fixed21 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
The instructions your model reads when the skill loads.
提供 Nginx 反向代理、负载均衡、SSL 证书、流媒体代理(RTMP/HLS)和性能调优的配置模板。
使用 proxy_pass 转发请求,proxy_set_header 传递 Host/X-Real-IP/X-Forwarded-For。
配置 listen 443 ssl http2,指定证书路径。启用 TLSv1.2/1.3,配置 ssl_session_cache。HTTP 80 端口 301 重定向到 HTTPS。
upstream 块定义后端池,支持轮询(默认)、权重(weight)、IP哈希(ip_hash)。配置 max_fails/fail_timeout 健康检查。
需要 nginx-rtmp-module。rtmp 块配置 application live 直播,application hls 切片。HTTP 块配置 /hls 路径播放。
关键:proxy_http_version 1.1,proxy_set_header Upgrade/Connection "upgrade",proxy_read_timeout 86400。
test cases passed, vs 21 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.