2020-05-08 16:37:55 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerAdmin lukewarmcat@riseup.net
|
|
|
|
ServerName lukewarmcat.codes
|
|
|
|
DocumentRoot /home/lukewarmcat/public_html
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
<Directorymatch "^/.*/\.git/">
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</Directorymatch>
|
2021-09-29 18:07:41 +00:00
|
|
|
RewriteEngine on
|
|
|
|
RewriteCond %{SERVER_NAME} =lukewarmcat.codes
|
|
|
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
|
|
|
</VirtualHost>
|