1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00
icecast-server/conf/icecast_minimal.xml.in

41 lines
1.5 KiB
XML

<!-- This config file contains a minimal set of configurable parameters,
and mostly just contains the things you need to change or are
necessary to get Icecast working for most use cases. We created
this for those who got scared away from the rather large and heavily
commented icecast.xml.dist file.
-->
<icecast>
<limits>
<sources>2</sources>
</limits>
<authentication>
<source-password>hackme</source-password>
<relay-password>hackme</relay-password>
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
</authentication>
<yp-directory url="https://dir.xiph.org/cgi-bin/yp-cgi">
<option name="timeout" value="15" />
</yp-directory>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<paths>
<logdir>@localstatedir@/log/@PACKAGE@</logdir>
<webroot>@pkgdatadir@/web</webroot>
<adminroot>@pkgdatadir@/admin</adminroot>
<alias source="/" destination="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>information</loglevel> <!-- "debug", "information", "warning", or "error" -->
</logging>
<http-headers>
<header type="cors" name="Access-Control-Allow-Origin" />
<header type="cors" name="Access-Control-Allow-Headers" />
<header type="cors" name="Access-Control-Expose-Headers" />
</http-headers>
</icecast>