ServerName localhost # ── Backend API ────────────────────────────────────────────────────────── Alias /api /var/www/api Options -Indexes +FollowSymLinks AllowOverride All Require all granted # ── User websites ───────────────────────────────────────────────────────── # Reads the X-Username header sent by your app to serve the right folder UseCanonicalName Off DocumentRoot /var/www/html Options -Indexes +FollowSymLinks AllowOverride All Require all granted # ── Logging ─────────────────────────────────────────────────────────────── ErrorLog /data/logs/apache_error.log CustomLog /data/logs/apache_access.log combined # ── Security headers ────────────────────────────────────────────────────── Header always set X-Content-Type-Options "nosniff" Header always set X-Frame-Options "SAMEORIGIN"