From 6311b998d4f9fa74be18e30300c068b62cca9037 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 8 Oct 2023 02:04:24 +0400 Subject: [PATCH] In nginx.conf deny access to /api/{listener,playlist} from outside, scripts are connecting directly to theservice via a unix socket. --- configs/nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/nginx.conf b/configs/nginx.conf index 03323d2..57a7f38 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -34,6 +34,14 @@ server { location /live/admin/ { deny all; } + + location /api/listener { + deny all; + } + + location /api/playlist { + deny all; + } } server {