mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Update: Use symbolic values where possible
This commit is contained in:
parent
fd3b6197fe
commit
f0df5ae488
@ -79,7 +79,7 @@
|
|||||||
<!--
|
<!--
|
||||||
<listen-socket>
|
<listen-socket>
|
||||||
<port>8443</port>
|
<port>8443</port>
|
||||||
<tls>1</tls>
|
<tls>auto_no_plain</tls>
|
||||||
</listen-socket>
|
</listen-socket>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -110,8 +110,8 @@
|
|||||||
|
|
||||||
<!-- Setting this makes all relays on-demand unless overridden, this is
|
<!-- Setting this makes all relays on-demand unless overridden, this is
|
||||||
useful for master relays which do not have <relay> definitions here.
|
useful for master relays which do not have <relay> definitions here.
|
||||||
The default is 0 -->
|
The default is false -->
|
||||||
<!--<relays-on-demand>1</relays-on-demand>-->
|
<!--<relays-on-demand>true</relays-on-demand>-->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<relay>
|
<relay>
|
||||||
@ -119,9 +119,9 @@
|
|||||||
<port>8080</port>
|
<port>8080</port>
|
||||||
<mount>/example.ogg</mount>
|
<mount>/example.ogg</mount>
|
||||||
<local-mount>/different.ogg</local-mount>
|
<local-mount>/different.ogg</local-mount>
|
||||||
<on-demand>0</on-demand>
|
<on-demand>false</on-demand>
|
||||||
|
|
||||||
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
|
<relay-shoutcast-metadata>false</relay-shoutcast-metadata>
|
||||||
</relay>
|
</relay>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -137,7 +137,7 @@
|
|||||||
-->
|
-->
|
||||||
<!--
|
<!--
|
||||||
<mount type="default">
|
<mount type="default">
|
||||||
<public>0</public>
|
<public>false</public>
|
||||||
<intro>/server-wide-intro.ogg</intro>
|
<intro>/server-wide-intro.ogg</intro>
|
||||||
<max-listener-duration>3600</max-listener-duration>
|
<max-listener-duration>3600</max-listener-duration>
|
||||||
<authentication type="url">
|
<authentication type="url">
|
||||||
@ -161,14 +161,14 @@
|
|||||||
<dump-file>/tmp/dump-example1.ogg</dump-file>
|
<dump-file>/tmp/dump-example1.ogg</dump-file>
|
||||||
<burst-size>65536</burst-size>
|
<burst-size>65536</burst-size>
|
||||||
<fallback-mount>/example2.ogg</fallback-mount>
|
<fallback-mount>/example2.ogg</fallback-mount>
|
||||||
<fallback-override>1</fallback-override>
|
<fallback-override>true</fallback-override>
|
||||||
<fallback-when-full>1</fallback-when-full>
|
<fallback-when-full>true</fallback-when-full>
|
||||||
<intro>/example_intro.ogg</intro>
|
<intro>/example_intro.ogg</intro>
|
||||||
<hidden>1</hidden>
|
<hidden>true</hidden>
|
||||||
<public>1</public>
|
<public>true</public>
|
||||||
<authentication type="htpasswd">
|
<authentication type="htpasswd">
|
||||||
<option name="filename" value="myauth"/>
|
<option name="filename" value="myauth"/>
|
||||||
<option name="allow_duplicate_users" value="0"/>
|
<option name="allow_duplicate_users" value="false"/>
|
||||||
</authentication>
|
</authentication>
|
||||||
<http-headers>
|
<http-headers>
|
||||||
<header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" />
|
<header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" />
|
||||||
@ -193,7 +193,7 @@
|
|||||||
</mount>
|
</mount>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<fileserve>1</fileserve>
|
<fileserve>true</fileserve>
|
||||||
|
|
||||||
<paths>
|
<paths>
|
||||||
<!-- basedir is only used if chroot is enabled -->
|
<!-- basedir is only used if chroot is enabled -->
|
||||||
@ -228,18 +228,18 @@
|
|||||||
<accesslog>access.log</accesslog>
|
<accesslog>access.log</accesslog>
|
||||||
<errorlog>error.log</errorlog>
|
<errorlog>error.log</errorlog>
|
||||||
<!-- <playlistlog>playlist.log</playlistlog> -->
|
<!-- <playlistlog>playlist.log</playlistlog> -->
|
||||||
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
<loglevel>information</loglevel> <!-- "debug", "information", "warning", or "error" -->
|
||||||
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
||||||
<!-- If logarchive is enabled (1), then when logsize is reached
|
<!-- If logarchive is enabled (1), then when logsize is reached
|
||||||
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
|
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
|
||||||
otherwise it will be moved to [error|access|playlist].log.old.
|
otherwise it will be moved to [error|access|playlist].log.old.
|
||||||
Default is non-archive mode (i.e. overwrite)
|
Default is non-archive mode (i.e. overwrite)
|
||||||
-->
|
-->
|
||||||
<!-- <logarchive>1</logarchive> -->
|
<!-- <logarchive>true</logarchive> -->
|
||||||
</logging>
|
</logging>
|
||||||
|
|
||||||
<security>
|
<security>
|
||||||
<chroot>0</chroot>
|
<chroot>false</chroot>
|
||||||
<!--
|
<!--
|
||||||
<changeowner>
|
<changeowner>
|
||||||
<user>nobody</user>
|
<user>nobody</user>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<listen-socket>
|
<listen-socket>
|
||||||
<port>8000</port>
|
<port>8000</port>
|
||||||
</listen-socket>
|
</listen-socket>
|
||||||
<fileserve>1</fileserve>
|
<fileserve>true</fileserve>
|
||||||
<paths>
|
<paths>
|
||||||
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
||||||
<webroot>@pkgdatadir@/web</webroot>
|
<webroot>@pkgdatadir@/web</webroot>
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<logging>
|
<logging>
|
||||||
<accesslog>access.log</accesslog>
|
<accesslog>access.log</accesslog>
|
||||||
<errorlog>error.log</errorlog>
|
<errorlog>error.log</errorlog>
|
||||||
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
<loglevel>information</loglevel> <!-- "debug", "information", "warning", or "error" -->
|
||||||
</logging>
|
</logging>
|
||||||
<http-headers>
|
<http-headers>
|
||||||
<header name="Access-Control-Allow-Origin" value="*" />
|
<header name="Access-Control-Allow-Origin" value="*" />
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<port>8000</port>
|
<port>8000</port>
|
||||||
<shoutcast-mount>/stream</shoutcast-mount>
|
<shoutcast-mount>/stream</shoutcast-mount>
|
||||||
</listen-socket>
|
</listen-socket>
|
||||||
<fileserve>1</fileserve>
|
<fileserve>true</fileserve>
|
||||||
<paths>
|
<paths>
|
||||||
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
||||||
<webroot>@pkgdatadir@/web</webroot>
|
<webroot>@pkgdatadir@/web</webroot>
|
||||||
@ -42,10 +42,10 @@
|
|||||||
<logging>
|
<logging>
|
||||||
<accesslog>access.log</accesslog>
|
<accesslog>access.log</accesslog>
|
||||||
<errorlog>error.log</errorlog>
|
<errorlog>error.log</errorlog>
|
||||||
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
<loglevel>information</loglevel> <!-- "debug", "information", "warning", or "error" -->
|
||||||
</logging>
|
</logging>
|
||||||
<security>
|
<security>
|
||||||
<chroot>0</chroot>
|
<chroot>false</chroot>
|
||||||
</security>
|
</security>
|
||||||
<http-headers>
|
<http-headers>
|
||||||
<header name="Access-Control-Allow-Origin" value="*" />
|
<header name="Access-Control-Allow-Origin" value="*" />
|
||||||
|
Loading…
Reference in New Issue
Block a user