fix angie main config

This commit is contained in:
2026-04-09 14:18:53 +03:00
parent 9e0ecf27be
commit afd3c8e77b
+4 -4
View File
@@ -5,15 +5,14 @@ user angie;
worker_processes auto; worker_processes auto;
worker_rlimit_nofile 65536; worker_rlimit_nofile 65536;
error_log /var/log/angie/error.log notice; error_log /dev/stdout notice;
pid /run/angie/angie.pid; pid /run/angie/angie.pid;
events { events {
worker_connections 2048;
} }
http { http {
include /etc/angie/mime.types; include /etc/angie/mime.types;
default_type application/octet-stream; default_type application/octet-stream;
@@ -29,7 +28,7 @@ http {
'ucs="$upstream_cache_status" ua="$upstream_addr" us="$upstream_status" ' 'ucs="$upstream_cache_status" ua="$upstream_addr" us="$upstream_status" '
'uct="$upstream_connect_time" urt="$upstream_response_time"'; 'uct="$upstream_connect_time" urt="$upstream_response_time"';
access_log /var/log/angie/access.log main; access_log /dev/stdout main;
sendfile on; sendfile on;
#tcp_nopush on; #tcp_nopush on;
@@ -41,6 +40,7 @@ http {
include /etc/angie/http.d/*.conf; include /etc/angie/http.d/*.conf;
} }
rtmp_auto_push on;
rtmp { rtmp {
include /etc/angie/rtmp.d/*.conf; include /etc/angie/rtmp.d/*.conf;
} }