Created
June 10, 2019 08:37
-
-
Save SamDecrock/662be5e76eec96574bc66e4fd47436d5 to your computer and use it in GitHub Desktop.
Nginx configuration to forward a web radio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name 104.248.213.228 koit.mydomain.com; | |
access_log /var/log/nginx/koitfm.access.log; | |
error_log /var/log/nginx/koitfm.error.log; | |
root /var/www/koitfm/; | |
location /KOITFM { | |
resolver 8.8.8.8; # may or may not be necessary. | |
proxy_pass http://13983.live.streamtheworld.com/KOITFM; | |
} | |
location /KOITFMlow { | |
resolver 8.8.8.8; # may or may not be necessary. | |
proxy_pass http://18543.live.streamtheworld.com/KOITFM; | |
} | |
location / { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment