File: //proc/thread-self/root/etc/apache2/sites-enabled/wpprotonperinggit.conf
<VirtualHost *:80>
ServerName protonperinggit.com
ServerAlias www.protonperinggit.com
ServerAdmin webmaster@protonperinggit.com
DocumentRoot /var/www/html/wpprotonperinggit
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/html/wpprotonperinggit>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/wpprotonperinggit-error.log
CustomLog ${APACHE_LOG_DIR}/wpprotonperinggit-access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
RewriteEngine on
RewriteCond %{SERVER_NAME} =protonperinggit.com [OR]
RewriteCond %{SERVER_NAME} =www.protonperinggit.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet