# Ukázkový Apache vhost pro Ubuntu. # DocumentRoot musí mířit na Deployer symlink current/www. # # 1) Zkopíruj do /etc/apache2/sites-available/kufrik.conf # 2) Uprav ServerName a cesty # 3) a2ensite kufrik && systemctl reload apache2 # # V php.ini (nebo poolu) nastav: # opcache.revalidate_path=1 # jinak Apache po symlinku current neuvidí novou release. ServerName kufrik.example.cz DocumentRoot /var/www/kufrik/current/www AllowOverride All Require all granted Options -Indexes +FollowSymLinks # Zbytek projektu (app/, config/, vendor/, …) nesmí být webově dostupný. Require all denied Require all granted ErrorLog ${APACHE_LOG_DIR}/kufrik-error.log CustomLog ${APACHE_LOG_DIR}/kufrik-access.log combined