File: //etc/apache2/sites-enabled/pungutacu2bani.conf
<VirtualHost *:80>
ServerName pungutacu2bani.servergames.ro
ServerAlias www.pungutacu2bani.servergames.ro
CustomLog ${APACHE_LOG_DIR}/pungutacu2bani.access combined
ErrorLog ${APACHE_LOG_DIR}/pungutacu2bani.error
DocumentRoot /home/florin/sites/pungutacu2bani/current
SetEnvIf X-Forwarded-Proto https HTTPS=on
SetEnv HTTPS on
DirectoryIndex index.php index.html index.htm
<Directory "/home/florin/sites/pungutacu2bani/current">
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php7.4-fpm-florin.sock|fcgi://localhost"
</FilesMatch>
</VirtualHost>