fix(mediamtx): auth http fingerprint

This commit is contained in:
2026-04-29 18:38:42 +02:00
parent 8a924f2d52
commit 0597cb1157
3 changed files with 4 additions and 5 deletions

View File

@@ -9,9 +9,5 @@ MEDIAMTX_API_HOST=mmtxapi.hackclub.tv
# public ip for webrtc stuff
MEDIAMTX_WEBRTC_ADDITIONAL_HOSTS=203.0.113.10
# mediamtx publish route on hctv
MEDIAMTX_AUTH_HTTP_ADDRESS=https://hackclub.tv/api/mediamtx/publish
# If MediaMTX still reports x509 unknown-authority for the auth callback even
# with SSL_CERT_FILE set in compose, set MTX_AUTHHTTPFINGERPRINT manually on
# the server as a temporary cert pin.
MEDIAMTX_AUTH_HTTP_FINGERPRINT=

View File

@@ -34,6 +34,7 @@ services:
SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
MTX_WEBRTCADDITIONALHOSTS: ${MEDIAMTX_WEBRTC_ADDITIONAL_HOSTS}
MTX_AUTHHTTPADDRESS: ${MEDIAMTX_AUTH_HTTP_ADDRESS}
MTX_AUTHHTTPFINGERPRINT: ${MEDIAMTX_AUTH_HTTP_FINGERPRINT:-}
labels:
- traefik.enable=true