diff --git a/conf/nginx.conf b/conf/nginx.conf index f335ad5..cd35d66 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -47,13 +47,18 @@ server { add_header 'Access-Control-Allow-Origin' 'blah.tld' always; max_ranges 0; } - location ~ .(webm)$ { + location /b { + proxy_pass http://localhost:1338; + error_page 404 /s/img/404.gif; + try_files $uri =404; + } + location ~ .(webm|mp4)$ { proxy_pass http://localhost:1338; valid_referers none blocked blah.tld; if ($invalid_referer) { - return 403; + return 403; } - } +} } server { if ($host = blah.tld) {