ServerName ServerAlias www. DocumentRoot /home// CustomLog /var/log/apache2/domlogs/.log combined # /> Require all denied # ##### /phmyadmin on ##### ProxyRequests Off ProxyPreserveHost On Require all granted ProxyPass /phpmyadmin http://localhost:8080/ ProxyPassReverse /phpmyadmin http://localhost:8080/ RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-Ssl on ##### /phpmyadmin end ##### /> Options Indexes FollowSymLinks AllowOverride All Require all granted DirectoryIndex index.php index.html SetHandler "proxy:unix:/run/php/-fpm.sock|fcgi://localhost" # Allow access to .well-known for Certbot //.well-known"> Options Indexes FollowSymLinks AllowOverride None Require all granted Alias /.well-known /home///.well-known ServerName ServerAlias www. DocumentRoot /home// CustomLog /var/log/apache2/domlogs/.log combined SSLEngine on SSLCertificateFile /etc/apache2/ssl/cert.crt SSLCertificateKeyFile /etc/apache2/ssl/cert.key ##### /phmyadmin on ##### ProxyRequests Off ProxyPreserveHost On Require all granted ProxyPass /phpmyadmin http://localhost:8080/ ProxyPassReverse /phpmyadmin http://localhost:8080/ RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-Ssl on ##### /phpmyadmin end ##### /> Options Indexes FollowSymLinks AllowOverride All Require all granted DirectoryIndex index.php index.html SetHandler "proxy:unix:/run/php/-fpm.sock|fcgi://localhost"