Fix 'address in use'
Add 'ipv6only=on' to ipv6 'listen' directive.
This commit is contained in:
@@ -25,7 +25,7 @@ http {
|
||||
rtmp {
|
||||
server {
|
||||
listen 1935;
|
||||
listen [::]:1935;
|
||||
listen [::]:1935 ipv6only=on;
|
||||
|
||||
# 'get' to use $arg_ for auth
|
||||
notify_method get;
|
||||
|
||||
@@ -6,7 +6,7 @@ events {}
|
||||
rtmp {
|
||||
server {
|
||||
listen 1935;
|
||||
listen [::]:1935;
|
||||
listen [::]:1935 ipv6only=on;
|
||||
|
||||
application live {
|
||||
live on;
|
||||
|
||||
Reference in New Issue
Block a user