return 404 with vod module

This commit is contained in:
Josh Hawkins 2025-02-14 12:31:26 -06:00
parent 2d113146bc
commit c0c9aad6aa

View File

@ -109,6 +109,14 @@ http {
expires off; expires off;
keepalive_disable safari; keepalive_disable safari;
# vod module returns 502 for non-existent media
# https://github.com/kaltura/nginx-vod-module/issues/468
error_page 502 =404 /vod-not-found;
}
location = /vod-not-found {
return 404;
} }
location /stream/ { location /stream/ {