代码拉取完成,页面将自动刷新
同步操作将从 binave/nginx-rtmp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
log_format json '{"@timestamp":"$time_iso8601","host":"$server_addr","client":"$remote_addr","protocol":"$protocol",'
'"received":$bytes_received,"send":$bytes_sent,'
'"backend":"$upstream_addr","status":"$status"}';
# map $ssl_preread_server_name $name {
# backend.example.com 127.0.0.1:443;
# default 127.0.0.1:80;
# }
#
# server {
# listen 8080;
# proxy_pass $name;
# ssl_preread on;
#
# # access_log /var/log/nginx/stream.access.log json;
# }
# map $ssl_preread_alpn_protocols $proxy {
# ~\bh2\b 172.17.0.1:8001;
# ~\bhttp/1.1\b 127.0.0.1:443;
# ~\bxmpp-client\b 172.17.0.1:8002;
# }
#
# server {
# listen 8000;
# proxy_pass $proxy;
# ssl_preread on;
#
# # access_log /var/log/nginx/stream.access.log json;
# }
# upstream tls {
# server 127.0.0.1:443;
# }
#
# map $proxy_protocol_addr $dynamic {
# "10.0.0.1" 172.17.0.1:22;
# default 127.0.0.1:80;
# }
#
# server {
# listen 8822 proxy_protocol;
# proxy_ssl off;
# proxy_pass $dynamic;
# proxy_timeout 10m;
# }
#
# map $ssl_preread_protocol $upstream {
# "" 127.0.0.1:8822;
# "TLSv1.0" tls;
# "TLSv1.1" tls;
# "TLSv1.2" tls;
# "TLSv1.3" tls;
# default tls;
# }
#
# server {
# listen 8443;
# # listen 10.0.0.1:8443;
# proxy_pass $upstream;
# proxy_protocol on;
# ssl_preread on;
#
# # access_log /var/log/nginx/stream.access.log json;
# }
upstream debug {
# hash $remote_addr consistent;
# server 172.17.0.1:8456 max_fails=3 fail_timeout=30s;
server 172.17.0.1:8457 max_fails=3 fail_timeout=30s;
# server unix:/tmp/backend.socket;
}
server{
listen 8457;
proxy_connect_timeout 1s;
proxy_timeout 3s;
proxy_pass debug;
# proxy_pass unix:/tmp/stream.socket;
# access_log /var/log/nginx/stream.access.log json;
}
# server{
# listen 8081-8086;
# proxy_connect_timeout 1s;
# proxy_timeout 3s;
# proxy_pass 10.0.0.2:$server_port;
# }
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。