2
0

security.deny.publish.conf 426 B

123456789101112131415
  1. # security config for srs, allow play and deny publish.
  2. # @see https://github.com/ossrs/srs/issues/211#issuecomment-68507035
  3. # @see full.conf for detail config.
  4. listen 1935;
  5. max_connections 1000;
  6. daemon off;
  7. srs_log_tank console;
  8. vhost __defaultVhost__ {
  9. security {
  10. enabled on;
  11. deny publish all;
  12. allow play all;
  13. }
  14. }