configs.html 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <div>
  2. <div class="accordion">
  3. <div class="accordion-group" ng-show="!support_raw_api">
  4. <div class="accordion-heading" sc-collapse="in">
  5. <a class="accordion-toggle" href="javascript:void(0)">
  6. HTTP RAW API
  7. </a>
  8. </div>
  9. <div class="accordion-body collapse">
  10. <div class="accordion-inner">
  11. <div class="alert alert-block alert-danger">
  12. SRS 4.0不再支持HTTP RAW API。参考<a href='https://github.com/ossrs/srs/issues/2653'>#2653</a>。
  13. </div>
  14. <table class="table table-striped table-hover table-bordered">
  15. <tr>
  16. <th>Key</th>
  17. <th>Value</th>
  18. <th>Description</th>
  19. <th>Opt</th>
  20. </tr>
  21. <tr sc-pretty scp-key="http_api.enabled" scp-value="http_api.enabled" scp-bool="true"
  22. scp-desc="是否开启HTTP API,开启后就可以访问SRS提供的API管理服务器。默认: {{false| sc_filter_enabled}}">
  23. </tr>
  24. <tr sc-pretty scp-key="http_api.listen" scp-value="http_api.listen"
  25. scp-desc="HTTP API的侦听地址,格式是&lt;[address:]port&gt;。默认: 1985">
  26. </tr>
  27. <tr sc-pretty scp-key="http_api.crossdomain" scp-value="http_api.crossdomain" scp-bool="true"
  28. scp-desc="是否允许JS跨域,开启后JS可以直接跨域(还可以通过JSONP访问)。默认: {{true| sc_filter_enabled}}">
  29. </tr>
  30. <tr sc-pretty scp-key="http_api.raw_api.enabled" scp-value="http_api.raw_api.enabled" scp-bool="true"
  31. scp-desc="是否开启HTTP RAW API,允许API修改服务器配置。默认: {{false| sc_filter_enabled}}">
  32. </tr>
  33. <tr sc-pretty scp-key="http_api.raw_api.allow_reload" scp-value="http_api.raw_api.allow_reload" scp-bool="true"
  34. scp-desc="是否允许API进行Reload操作。默认: {{false| sc_filter_enabled}}">
  35. </tr>
  36. <tr sc-pretty scp-key="http_api.raw_api.allow_query" scp-value="http_api.raw_api.allow_query" scp-bool="true"
  37. scp-desc="是否允许API进行Query查询操作。默认: {{false| sc_filter_enabled}}">
  38. </tr>
  39. <tr sc-pretty scp-key="http_api.raw_api.allow_update" scp-value="http_api.raw_api.allow_update" scp-bool="true"
  40. scp-desc="是否允许API进行Update更新操作。默认: {{false| sc_filter_enabled}}">
  41. </tr>
  42. </table>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>