mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Update: Updated examples for relays
This commit is contained in:
parent
0f3e8ac160
commit
a81e1345ef
@ -113,18 +113,43 @@
|
||||
The default is false -->
|
||||
<!--<relays-on-demand>true</relays-on-demand>-->
|
||||
|
||||
<!-- Basic relay with one upstream server -->
|
||||
<!--
|
||||
<relay>
|
||||
<server>127.0.0.1</server>
|
||||
<port>8080</port>
|
||||
<mount>/example.ogg</mount>
|
||||
<local-mount>/different.ogg</local-mount>
|
||||
<on-demand>false</on-demand>
|
||||
|
||||
<relay-shoutcast-metadata>false</relay-shoutcast-metadata>
|
||||
<upstream type="normal">
|
||||
<server>127.0.0.1</server>
|
||||
<port>8080</port>
|
||||
<mount>/example.ogg</mount>
|
||||
<relay-shoutcast-metadata>false</relay-shoutcast-metadata>
|
||||
</upstream>
|
||||
</relay>
|
||||
-->
|
||||
|
||||
<!-- Relay with multiple upstream servers and default settings -->
|
||||
<!--
|
||||
<relay>
|
||||
<local-mount>/different.ogg</local-mount>
|
||||
<on-demand>false</on-demand>
|
||||
|
||||
<upstream type="normal">
|
||||
<server>master0.example.org</server>
|
||||
</upstream>
|
||||
<upstream type="normal">
|
||||
<server>master1.example.org</server>
|
||||
</upstream>
|
||||
<upstream type="normal">
|
||||
<server>master2.example.org</server>
|
||||
<port>8080</port>
|
||||
</upstream>
|
||||
<upstream type="default">
|
||||
<port>8000</port>
|
||||
<mount>/example.ogg</mount>
|
||||
</upstream>
|
||||
</relay>
|
||||
-->
|
||||
|
||||
<!-- Mountpoints
|
||||
Only define <mount> sections if you want to use advanced options,
|
||||
@ -193,6 +218,20 @@
|
||||
</mount>
|
||||
-->
|
||||
|
||||
<!-- Relays can also go into a <mount type="normal"> section -->
|
||||
<!--
|
||||
<mount type="normal">
|
||||
<mount-name>/auth_example.ogg</mount-name>
|
||||
<relay>
|
||||
<upstream type="normal">
|
||||
<server>master0.example.org</server>
|
||||
<port>8000</port>
|
||||
<mount>/example.ogg</mount>
|
||||
</upstream>
|
||||
</relay>
|
||||
</mount>
|
||||
-->
|
||||
|
||||
<paths>
|
||||
<!-- basedir is only used if chroot is enabled -->
|
||||
<basedir>@pkgdatadir@</basedir>
|
||||
|
Loading…
Reference in New Issue
Block a user