<VirtualHost *:8080>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /home/www/plug


<Directory /home/www/plug>
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
#RewriteEngine On
#RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
#RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</Directory>

<FilesMatch \.php$>
    SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>