blah nginx blah

This commit is contained in:
x
2025-04-30 16:48:07 +02:00
parent 8eadcd6601
commit 2e1c024d07

View File

@ -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) {