diff --git a/.gitignore b/.gitignore index 874f75b..cb11abc 100644 --- a/.gitignore +++ b/.gitignore @@ -166,4 +166,4 @@ logs/ variables.env haproxy.cfg mediamtx.yml -*.json +nginx.conf diff --git a/config/archive/nginx.conf.dist b/config/archive/nginx.conf.dist new file mode 100644 index 0000000..ce1db9c --- /dev/null +++ b/config/archive/nginx.conf.dist @@ -0,0 +1,20 @@ +events { + +} + +http { + error_log /etc/nginx/error_log.log warn; + client_max_body_size 20m; + + proxy_cache_path /etc/nginx/cache keys_zone=one:500m max_size=1000m; + + + server { + server_name vod.example.com; + root /recordings; + + location /live/ { + autoindex on; + } + } +}