mirror of
https://github.com/fergalmoran/dss.docker.git
synced 2025-12-22 09:18:29 +00:00
Fixed radio nginx
This commit is contained in:
@@ -66,6 +66,7 @@ nginx:
|
|||||||
- "api:api"
|
- "api:api"
|
||||||
- "web:web"
|
- "web:web"
|
||||||
- "icecast:icecast"
|
- "icecast:icecast"
|
||||||
|
- "radio:radio"
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- api
|
- api
|
||||||
icecast:
|
icecast:
|
||||||
@@ -85,4 +86,5 @@ radio:
|
|||||||
- "8888:8888"
|
- "8888:8888"
|
||||||
links:
|
links:
|
||||||
- "icecast:icecast"
|
- "icecast:icecast"
|
||||||
|
- "api:api"
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,13 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name radio.deepsouthsounds.com;
|
server_name radio.deepsouthsounds.com;
|
||||||
|
|
||||||
|
location /a {
|
||||||
|
proxy_pass http://radio:8888;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://icecast:8000;
|
proxy_pass http://icecast:8000;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|||||||
Reference in New Issue
Block a user