Advertisement
Guest User

Untitled

a guest
Nov 12th, 2017
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. [code]<icecast>
  2. <location>Russia</location>
  3. <admin>icemaster@localhost</admin>
  4.  
  5.  
  6. <limits>
  7. <clients>100</clients>
  8. <sources>2</sources>
  9. <queue-size>524288</queue-size>
  10. <client-timeout>30</client-timeout>
  11. <header-timeout>15</header-timeout>
  12. <source-timeout>10</source-timeout>
  13.  
  14.  
  15. <burst-size>65535</burst-size>
  16. </limits>
  17.  
  18. <authentication>
  19. <!-- Sources log in with username 'source' -->
  20. <source-password>пароль</source-password>
  21. <!-- Relays log in with username 'relay' -->
  22. <relay-password>пароль</relay-password>
  23.  
  24. <!-- Admin logs in with the username given below -->
  25. <admin-user>admin</admin-user>
  26. <admin-password>пароль</admin-password>
  27. </authentication>
  28.  
  29. <!-- Uncomment this if you want directory listings -->
  30. <!--
  31. <directory>
  32. <yp-url-timeout>15</yp-url-timeout>
  33. <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
  34. </directory>
  35. -->
  36.  
  37. <hostname>radio.site.ru</hostname>
  38.  
  39.  
  40. <mount>
  41. <mount-name>/mount.mp3</mount-name>
  42. <charset>UTF-8</charset>
  43. <max-listeners>250</max-listeners>
  44. <public>0</public>
  45. </mount>
  46.  
  47. <mount>
  48. <mount-name>/low.aac</mount-name>
  49. <charset>UTF-8</charset>
  50. <max-listeners>100</max-listeners>
  51. <burst-size>65536</burst-size>
  52. <icy-metadata-interval>8192</icy-metadata-interval>
  53. <public>0</public>
  54. </mount>
  55.  
  56. <listen-socket>
  57. <port>8000</port>
  58. </listen-socket>
  59.  
  60. <listen-socket>
  61. <port>8010</port>
  62. <ssl>1</ssl>
  63. </listen-socket>
  64.  
  65. <fileserve>1</fileserve>
  66.  
  67. <paths>
  68. <!-- basedir is only used if chroot is enabled -->
  69. <basedir>/usr/share/icecast2</basedir>
  70. <ssl-certificate>/etc/icecast2/ssl/icecast.pem</ssl-certificate>
  71. <!-- Note that if <chroot> is turned on below, these paths must both
  72. be relative to the new root, not the original root -->
  73. <logdir>/var/log/icecast2</logdir>
  74. <webroot>/usr/share/icecast2/web</webroot>
  75. <adminroot>/usr/share/icecast2/admin</adminroot>
  76. <!-- <pidfile>/usr/share/icecast2/icecast.pid</pidfile> -->
  77.  
  78. <!-- Aliases: treat requests for 'source' path as being for 'dest' path
  79. May be made specific to a port or bound address using the "port"
  80. and "bind-address" attributes.
  81. -->
  82. <!--
  83. <alias source="/foo" destination="/bar"/>
  84. -->
  85. <!-- Aliases: can also be used for simple redirections as well,
  86. this example will redirect all requests for http://server:port/ to
  87. the status page
  88. -->
  89. <alias source="/" destination="/status.xsl"/>
  90. <!-- The certificate file needs to contain both public and private part.
  91. Both should be PEM encoded.
  92.  
  93. -->
  94. </paths>
  95.  
  96. <logging>
  97. <accesslog>access.log</accesslog>
  98. <errorlog>error.log</errorlog>
  99. <!-- <playlistlog>playlist.log</playlistlog> -->
  100. <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
  101. <logsize>10000</logsize> <!-- Max size of a logfile -->
  102. <!-- If logarchive is enabled (1), then when logsize is reached
  103. the logfile will be moved to [error|access|playlist].log.DATESTAMP,
  104. otherwise it will be moved to [error|access|playlist].log.old.
  105. Default is non-archive mode (i.e. overwrite)
  106. -->
  107. <!-- <logarchive>1</logarchive> -->
  108. </logging>
  109.  
  110. <security>
  111. <chroot>0</chroot>
  112. <!--
  113. <changeowner>
  114. <user>nobody</user>
  115. <group>nogroup</group>
  116. </changeowner>
  117. -->
  118. </security>
  119. </icecast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement