Fix 'address in use'

Add 'ipv6only=on' to ipv6 'listen' directive.
This commit is contained in:
2020-11-08 19:22:41 +01:00
parent 8b7e47293e
commit 2f54f74712
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ http {
rtmp {
server {
listen 1935;
listen [::]:1935;
listen [::]:1935 ipv6only=on;
# 'get' to use $arg_ for auth
notify_method get;

View File

@@ -6,7 +6,7 @@ events {}
rtmp {
server {
listen 1935;
listen [::]:1935;
listen [::]:1935 ipv6only=on;
application live {
live on;