51 lines
1.6 KiB
XML
51 lines
1.6 KiB
XML
<icecast>
|
|
<location>Earth</location>
|
|
<admin>icemaster@localhost</admin>
|
|
|
|
<limits>
|
|
<clients>100</clients>
|
|
<sources>2</sources>
|
|
<queue-size>524288</queue-size>
|
|
<client-timeout>30</client-timeout>
|
|
<header-timeout>15</header-timeout>
|
|
<source-timeout>10</source-timeout>
|
|
<burst-on-connect>1</burst-on-connect>
|
|
<burst-size>65535</burst-size>
|
|
</limits>
|
|
|
|
<authentication>
|
|
<source-password>hackme</source-password>
|
|
<relay-password>hackme</relay-password>
|
|
<admin-user>admin</admin-user>
|
|
<admin-password>hackme</admin-password>
|
|
</authentication>
|
|
|
|
<hostname>localhost</hostname>
|
|
|
|
<listen-socket>
|
|
<port>8000</port>
|
|
</listen-socket>
|
|
|
|
<http-headers>
|
|
<header name="Access-Control-Allow-Origin" value="*" />
|
|
<header name="Access-Control-Allow-Headers" value="Origin, Accept, X-Requested-With, Content-Type" />
|
|
<header name="Access-Control-Allow-Methods" value="GET, OPTIONS, HEAD" />
|
|
</http-headers>
|
|
|
|
<paths>
|
|
<basedir>/usr/share/icecast2</basedir>
|
|
<logdir>/var/log/icecast2</logdir>
|
|
<webroot>/usr/share/icecast2/web</webroot>
|
|
<adminroot>/usr/share/icecast2/admin</adminroot>
|
|
<pidfile>/var/run/icecast2/icecast.pid</pidfile>
|
|
<alias source="/" destination="/status.xsl"/>
|
|
</paths>
|
|
|
|
<logging>
|
|
<accesslog>access.log</accesslog>
|
|
<errorlog>error.log</errorlog>
|
|
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
|
<logsize>10000</logsize>
|
|
</logging>
|
|
</icecast>
|