Skip to content

Commit

Permalink
Update install-nginx-rtmp.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zackrylangford authored Nov 20, 2023
1 parent 27e2b65 commit 7ee41a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rtmp-module/install-nginx-rtmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ sudo mkdir -p /var/www/html/stream/hls
sudo mkdir -p /var/www/html/stream/dash
sudo mkdir -p /home/ubuntu/livestream-archives
sudo chown -R www-data:www-data /var/www/html/stream
sudo chown -R ubuntu:ubuntu /home/ubuntu/livestream-archives
sudo chown -R www-data:www-data /home/ubuntu/livestream-archives

# Disable the default Nginx site
sudo rm -f /etc/nginx/sites-enabled/default

# Copy the basic nginx.conf file into the proper directory
# This should be a basic configuration without SSL settings
Expand All @@ -44,8 +47,6 @@ sudo ln -sf /etc/nginx/sites-available/rtmp /etc/nginx/sites-enabled/rtmp
chmod +x stunnel.sh
./stunnel.sh "$domain_name"

# Update the Python script

# Update the Python script with the provided S3 bucket name
sed -i "s/YOUR_BUCKET_NAME_HERE/$s3_bucket_name/g" upload_recording.py

Expand Down

0 comments on commit 7ee41a8

Please sign in to comment.