1
0

In nginx.conf changed Icecast's port to 8000. And set to listen on 192.168.144.2:8000.

This commit is contained in:
Alexander Andreev 2023-10-09 00:30:16 +04:00
parent c9e30f76e6
commit c43bd5ea92
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -26,7 +26,7 @@ server {
} }
location /live/ { location /live/ {
proxy_pass http://127.0.0.1:8001/; proxy_pass http://127.0.0.1:8000/;
proxy_bind $remote_addr transparent; proxy_bind $remote_addr transparent;
proxy_buffering off; proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
@ -50,7 +50,7 @@ server {
} }
server { server {
listen 8000; listen 192.168.144.2:8000;
server_name radio.arav.su; server_name radio.arav.su;
@ -64,7 +64,7 @@ server {
location / { location / {
proxy_pass http://127.0.0.1:8001/; proxy_pass http://127.0.0.1:8000/;
proxy_bind $remote_addr transparent; proxy_bind $remote_addr transparent;
proxy_buffering off; proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;