diff --git a/cloudformation/lib/api.js b/cloudformation/lib/api.js index 0bb837f..a42515b 100644 --- a/cloudformation/lib/api.js +++ b/cloudformation/lib/api.js @@ -39,7 +39,7 @@ const PORTS = [{ Port: 8888, Protocol: 'tcp', Description: 'HLS Protocol', - Certificate: false, + Certificate: true, Enabled: true },{ Name: 'WEBRTC', diff --git a/start b/start index d57c61e..548cc7b 100755 --- a/start +++ b/start @@ -7,7 +7,8 @@ set -x set -euo pipefail # Copy EFS Persisted certs to Let's Encrypt Dir -if [ ! -e "/opt/mediamtx/mediamtx.yml" ]; then +if [ ! -f "/opt/mediamtx/mediamtx.yml" ]; then + echo "NO CONFIG FOUND" cp "/mediamtx.yml" "/opt/mediamtx/mediamtx.yml" fi;