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