From 46477b7b328d278684d215847c5a412e3318d266 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Thu, 30 Apr 2026 16:32:23 +0100 Subject: [PATCH] fix(deploy): target sites-enabled instead of sites-available for Apache Include injection On optical-dev the Apache vhost is a standalone file in sites-enabled (not a symlink to sites-available), so injecting the Include into sites-available had no effect and the ProxyPassMatch rules were never loaded by Apache. Co-Authored-By: Claude Sonnet 4.6 --- scripts/deploy-dev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy-dev.sh b/scripts/deploy-dev.sh index 3fedad5..4a00550 100755 --- a/scripts/deploy-dev.sh +++ b/scripts/deploy-dev.sh @@ -16,7 +16,7 @@ set -euo pipefail # ── Config ──────────────────────────────────────────────────────────────────── PROJECT_DIR="/opt/video-accessibility" WEBROOT="/var/www/html/video-accessibility" -APACHE_CONF_DIR="/etc/apache2/sites-available" +APACHE_CONF_DIR="/etc/apache2/sites-enabled" APACHE_VHOST="optical-dev.oliver.solutions.conf" COMPOSE="docker compose -f docker-compose.yml -f docker-compose.prod.yml -f docker-compose.optical-dev.yml --env-file .env.production" API_INTERNAL_PORT=8012 # host port the api container exposes