Fixed radio nginx

This commit is contained in:
Fergal Moran
2015-10-11 21:21:41 +00:00
parent aa13ff1787
commit 58ac1af801
2 changed files with 9 additions and 0 deletions

View File

@@ -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"

View File

@@ -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;