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 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-04-30 16:32:23 +01:00
parent 31199f8705
commit 46477b7b32

View file

@ -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