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; add_header 'Access-Control-Allow-Origin' 'blah.tld' always;
max_ranges 0; 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; proxy_pass http://localhost:1338;
valid_referers none blocked blah.tld; valid_referers none blocked blah.tld;
if ($invalid_referer) { if ($invalid_referer) {
return 403; return 403;
} }
} }
} }
server { server {
if ($host = blah.tld) { if ($host = blah.tld) {