Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

techprober/nginx-http-flv-module-docker

Repository files navigation

nginx-http-flv-module-docker

Build a Stream Server with Nginx

License Docker Registry lastcommit

Introduction

CopyRight 2021-2022 TechProber. All rights reserved.

Maintainer: Kevin Yu (@yqlbu) , Huang (@earrmouth) , and Su (@SuLingGG)

This repo serves to provide the end-users a way to host their stream server easily with Nginx

Import Notes:

Both rtmp and http are recognized as stream in Nginx

Usage Guide

Since this repository is a clone from the original nginx-http-flv-module, please find the detail usage guide from it

Preparation

Create the /etc/nginx/ directory

sudo mkdir -p /etc/nginx
cd /etc/nginx

Nginx Configuration

Import Notes:

The nginx.conf are stored under /etc/nginx/, you may modify the default path to adjust your need.

Replace ./nginx.conf with your own configuration, if you plan to add extra configurations such as rewrite-rules. During the container build period, The nginx.conf will be copied to the associated path in the container.

Custom http assets

Import Notes:

The http-assets are stored under /etc/nginx/, you may modify the default path to adjust your need.

Place your http assets under /etc/nginx/. The data will be mapped to /www inside the container

Run Locally

# run container locally
make run
# restart container locally
make restart
# run with docker-compose natively
docker-compose up -d

CN Support

Use the cn-alicloud as apk source to build the image locally

# run container locally
docker-compose -f ./build/cn-support/docker-compose.yml up -d
# restart container locally
docker-compose -f ./build/cn-support/docker-compose.yml up -d --force-recreate

Latest Releases

References

License

MIT (C) TechProber

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 60.8%
  • Makefile 39.2%

AltStyle によって変換されたページ (->オリジナル) /