mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #211, support security allow/deny publish/play all/ip. 2.0.86
This commit is contained in:
parent
f8ec7c706d
commit
75f2607685
14 changed files with 348 additions and 4 deletions
13
trunk/conf/security.deny.publish.conf
Normal file
13
trunk/conf/security.deny.publish.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
# security config for srs, allow play and deny publish.
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/issues/211#issuecomment-68507035
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
security {
|
||||
enabled on;
|
||||
deny publish all;
|
||||
allow play all;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue