JasonRivers / Docker-nginx-rtmp

Docker Image for RTMP streams using Nginx
180 stars 114 forks source link

adjust config to listen to ipv6 #29

Open udatny opened 3 years ago

udatny commented 3 years ago

it looks like nginx currently isnt listening to ipv6

adding the [::] listening address solves this issue.

server {
    listen          8080;
    listen          [::]:8080;

...

having both listen configs in the file allows the server to be called on its ipv4 as on ipv6 addresses