ServerName ${APP_DOMAIN} ServerName ${APP_DOMAIN} DocumentRoot /var/www/html/public DirectoryIndex index.php SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on SetEnvIf X-Forwarded-Ssl "^on$" HTTPS=on Options -Indexes +FollowSymLinks AllowOverride All Require all granted SetHandler application/x-httpd-php ErrorLog /proc/self/fd/2 CustomLog /proc/self/fd/1 combined ServerName ${HLS_DOMAIN} ProxyRequests Off ProxyPreserveHost On ProxyPass "/" "http://mediamtx:${HLS_INTERNAL_PORT}/" retry=0 ProxyPassReverse "/" "http://mediamtx:${HLS_INTERNAL_PORT}/" Header always set Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" Header always set Access-Control-Allow-Origin "${APP_URL}" Header always set Access-Control-Allow-Methods "GET, HEAD, OPTIONS" Header always set Access-Control-Allow-Headers "Range, Origin, Accept, Content-Type" ErrorLog /proc/self/fd/2 CustomLog /proc/self/fd/1 combined