In nginx.conf deny access to /api/{listener,playlist} from outside, scripts are connecting directly to theservice via a unix socket.
This commit is contained in:
parent
1599d502c1
commit
6311b998d4
@ -34,6 +34,14 @@ server {
|
|||||||
location /live/admin/ {
|
location /live/admin/ {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /api/listener {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /api/playlist {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Loading…
Reference in New Issue
Block a user