Browse Source

监听 1935 和 8080 两个端口, 分别提供 rtmp 和 http 服务

reghao 2 days ago
parent
commit
e2584f33bd
1 changed files with 1 additions and 2 deletions
  1. 1 2
      docker-compose.yml

+ 1 - 2
docker-compose.yml

@@ -5,8 +5,7 @@ services:
     restart: always
     ports:
       - "1935:1935"   # RTMP 推流端口
-      - "8080:80"     # HTTP 播放端口(映射到主机的 8080)
-      - "8443:443"     # HTTP 播放端口(映射到主机的 8443)
+      - "8080:8080"     # HTTP 播放端口(映射到主机的 8080)
     volumes:
       - /etc/localtime:/etc/localtime:ro
       - /opt/docker/ngxflv/conf/nginx.conf:/usr/local/nginx/conf/nginx.conf