Created
November 2, 2019 06:57
-
-
Save serverok/57ae398bb94aa61d9945f2405c73e221 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<icecast> | |
<location>Earth</location> | |
<admin>icemaster@localhost</admin> | |
<limits> | |
<clients>1500</clients> | |
<sources>3</sources> | |
<threadpool>5</threadpool> | |
<queue-size>524288</queue-size> | |
<client-timeout>30</client-timeout> | |
<header-timeout>15</header-timeout> | |
<source-timeout>10</source-timeout> | |
<!-- If enabled, this will provide a burst of data when a client | |
first connects, thereby significantly reducing the startup | |
time for listeners that do substantial buffering. However, | |
it also significantly increases latency between the source | |
client and listening client. For low-latency setups, you | |
might want to disable this. --> | |
<burst-on-connect>1</burst-on-connect> | |
<!-- same as burst-on-connect, but this allows for being more | |
specific on how much to burst. Most people won't need to | |
change from the default 64k. Applies to all mountpoints --> | |
<burst-size>65535</burst-size> | |
</limits> | |
<authentication> | |
<!-- Sources log in with username 'source' --> | |
<source-password>DBTw3J9vRR7XY5</source-password> | |
<!-- Relays log in username 'relay' --> | |
<relay-password>DBTw3J9vRR7XY5</relay-password> | |
<!-- Admin logs in with the username given below --> | |
<admin-user>admin</admin-user> | |
<admin-password>DBTw3J9vRR7XY5</admin-password> | |
</authentication> | |
<!-- Uncomment this if you want directory listings --> | |
<!-- | |
<directory> | |
<yp-url-timeout>15</yp-url-timeout> | |
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url> | |
</directory> | |
<directory> | |
<yp-url-timeout>15</yp-url-timeout> | |
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url> | |
</directory> | |
--> | |
<!-- {%comment-open-if:icecast.directory.yp-url==""%} --> | |
<directory> | |
<yp-url-timeout>15</yp-url-timeout> | |
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url> | |
</directory> | |
<!-- {%comment-close-if:icecast.directory.yp-url==""%} --> | |
<!-- This is the hostname other people will use to connect to your server. | |
It affects mainly the urls generated by Icecast for playlists and yp | |
listings. --> | |
<hostname>ice.serverok.in</hostname> | |
<!-- You can use these two if you only want a single listener --> | |
<listen-socket> | |
<port>8019</port> | |
</listen-socket> | |
<listen-socket> | |
<port>9019</port> | |
<ssl>1</ssl> | |
</listen-socket> | |
<bind-address>122.49.214.140</bind-address> | |
<!-- You may have multiple <listener> elements --> | |
<!-- | |
<listen-socket> | |
<port>8050</port> | |
<bind-address>192.168.0.10</bind-address> | |
</listen-socket> | |
--> | |
<!-- | |
<listen-socket> | |
<port>8001</port> | |
</listen-socket> | |
--> | |
<!-- {%comment-open-if:icecast.master-server==""%} --> <!-- | |
<relays-on-demand>0</relays-on-demand> | |
<master-server></master-server> | |
<master-server-port></master-server-port> | |
<master-update-interval></master-update-interval> | |
<master-password></master-password> | |
--> <!-- {%comment-close-if:icecast.master-server==""%} --> | |
<!-- {%comment-open-if:icecast.relay.server==""%} --> <!-- | |
<relay> | |
<server></server> | |
<port></port> | |
<mount></mount> | |
<local-mount></local-mount> | |
<username></username> | |
<password></password> | |
<relay-shoutcast-metadata>0</relay-shoutcast-metadata> | |
<on-demand>0</on-demand> | |
</relay> | |
--> <!-- {%comment-close-if:icecast.relay.server==""%} --> | |
<!-- Only define a <mount> section if you want to use advanced options, | |
like alternative usernames or passwords --> | |
<mount cc="main"> | |
<bitrate>128</bitrate> | |
<mount-name>/stream</mount-name> | |
<fallback-mount>/live</fallback-mount> | |
<fallback-override>1</fallback-override> | |
<fallback-when-full>0</fallback-when-full> | |
<public>0</public> | |
</mount> | |
<mount cc="live"> | |
<mount-name>/live</mount-name> | |
<intro></intro> | |
<fallback-mount>/autodj</fallback-mount> | |
<fallback-override>1</fallback-override> | |
<fallback-when-full>0</fallback-when-full> | |
<public>0</public> | |
<bitrate>128</bitrate> | |
</mount> | |
<mount cc="autodj"> | |
<mount-name>/autodj</mount-name> | |
<intro></intro> | |
<fallback-mount></fallback-mount> | |
<fallback-override>1</fallback-override> | |
<fallback-when-full>0</fallback-when-full> | |
<charset>UTF-8</charset> | |
<public>0</public> | |
<bitrate>128</bitrate> | |
</mount> | |
<fileserve>1</fileserve> | |
<!-- set the mountpoint for a shoutcast source to use, the default if not | |
specified is /stream but you can change it here if an alternative is | |
wanted or an extension is required | |
<shoutcast-mount>/live.nsv</shoutcast-mount> | |
--> | |
<paths> | |
<!-- basedir is only used if chroot is enabled --> | |
<basedir>/usr/local/centovacast/var/vhosts/yoyo/</basedir> | |
<!-- Note that if <chroot> is turned on below, these paths must both | |
be relative to the new root, not the original root --> | |
<logdir>var/log/</logdir> | |
<webroot>web/</webroot> | |
<adminroot>admin/</adminroot> | |
<pidfile>var/run/server.pid</pidfile> | |
<ssl-certificate>/usr/local/centovacast/etc/ssl/icecast.pem</ssl-certificate> | |
<ssl-allowed-ciphers>ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS</ssl-allowed-ciphers> | |
<!-- Aliases: treat requests for 'source' path as being for 'dest' path | |
May be made specific to a port or bound address using the "port" | |
and "bind-address" attributes. | |
--> | |
<!-- | |
<alias source="/foo" dest="/bar"/> | |
--> | |
<!-- Aliases: can also be used for simple redirections as well, | |
this example will redirect all requests for http://server:port/ to | |
the status page | |
--> | |
<alias source="/" dest="/status.xsl"></alias> | |
</paths> | |
<logging> | |
<accesslog>access.log</accesslog> | |
<errorlog>error.log</errorlog> | |
<playlistlog>playlist.log</playlistlog> | |
<loglevel>4</loglevel> | |
<!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> | |
</logging> | |
<security> | |
<chroot>0</chroot> | |
<!-- | |
<changeowner> | |
<user>nobody</user> | |
<group>nogroup</group> | |
</changeowner> | |
--> | |
</security> | |
</icecast> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment