Commit a81e1345 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Update: Updated examples for relays

parent 0f3e8ac1
...@@ -113,18 +113,43 @@ ...@@ -113,18 +113,43 @@
The default is false --> The default is false -->
<!--<relays-on-demand>true</relays-on-demand>--> <!--<relays-on-demand>true</relays-on-demand>-->
<!-- Basic relay with one upstream server -->
<!-- <!--
<relay> <relay>
<server>127.0.0.1</server>
<port>8080</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount> <local-mount>/different.ogg</local-mount>
<on-demand>false</on-demand> <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>
--> -->
<!-- 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 <!-- Mountpoints
Only define <mount> sections if you want to use advanced options, Only define <mount> sections if you want to use advanced options,
...@@ -193,6 +218,20 @@ ...@@ -193,6 +218,20 @@
</mount> </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> <paths>
<!-- basedir is only used if chroot is enabled --> <!-- basedir is only used if chroot is enabled -->
<basedir>@pkgdatadir@</basedir> <basedir>@pkgdatadir@</basedir>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment