ServerName example.com ServerAlias www.example.com DocumentRoot /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] SetHandler "proxy:fcgi://127.0.0.1:9000" ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined