File: //etc/apache2/sites-enabled/dvpis2026.conf
### dvpis.kaunokolegija.lt
<VirtualHost> *:80>
DocumentRoot /var/www/dvpis2026/dvpis.kaunokolegija.lt/web
ServerName dvpis2026.kaunokolegija.lt
Redirect / https://dvpis2026.kaunokolegija.lt/
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<FilesMatch ".php$">
SetHandler "proxy:unix:/var/run/php/php8.2-fpm-web24.sock|fcgi://localhost/"
</FilesMatch>
ErrorLog /var/log/apache2/php_warnings/dvpis2026.kaunokolegija.lt_php_warnings.log
</VirtualHost>
<VirtualHost *:443>
ServerName dvpis2026.kaunokolegija.lt
DocumentRoot /var/www/dvpis2026/dvpis.kaunokolegija.lt/web
<Directory />
Options All
AllowOverride All
</Directory>
<FilesMatch ".php$">
SetHandler "proxy:unix:/var/run/php/php8.2-fpm-web24.sock|fcgi://localhost/"
</FilesMatch>
SSLEngine on
SSLCertificateFile /etc/ssl/dvpis2026/kauko.crt
SSLCertificateKeyFile /etc/ssl/dvpis2026/kauko.key
SSLCertificateChainFile /etc/ssl/dvpis2026/kauko-chain.crt
ErrorLog /var/log/apache2/php_warnings/dvpis2026.kaunokolegija.lt_php_warnings.log
</VirtualHost>