From 3debe1cf37d078140e7b4df6be06fad3d8392957 Mon Sep 17 00:00:00 2001 From: William Date: Sun, 22 Jan 2023 20:51:48 +0100 Subject: [PATCH] Commit --- docker/nginx.conf | 5 +++++ views/templates/header.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 3a127d7..145c6d2 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -25,6 +25,11 @@ http { error_page 404 /index.php; + location /radio/hbr1/trance.ogg { + proxy_pass http://radio.hbr1.com/stream/trance.ogg; + proxy_buffering off; + } + location / { try_files $uri $uri/ /index.php?$query_string; } diff --git a/views/templates/header.php b/views/templates/header.php index 7fb5feb..ff9b3b1 100644 --- a/views/templates/header.php +++ b/views/templates/header.php @@ -15,7 +15,7 @@ function special_events(): string { <?=htmlspecialchars($title)?> - the Willy Club - + @@ -30,7 +30,7 @@ function special_events(): string { // some browsers (cough cough safari) dont like the live broadcast and so just keeps loading forever window.addEventListener('load', function () { radio.innerHTML = ` - + `; });