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"
|
||||
- "web:web"
|
||||
- "icecast:icecast"
|
||||
- "radio:radio"
|
||||
volumes_from:
|
||||
- api
|
||||
icecast:
|
||||
@@ -85,4 +86,5 @@ radio:
|
||||
- "8888:8888"
|
||||
links:
|
||||
- "icecast:icecast"
|
||||
- "api:api"
|
||||
|
||||
|
||||
@@ -2,6 +2,13 @@ server {
|
||||
listen 80;
|
||||
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 / {
|
||||
proxy_pass http://icecast:8000;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user