2019-02-16 01:42:17 +00:00
|
|
|
<VirtualHost *:80>
|
2019-02-16 02:29:20 +00:00
|
|
|
ServerAdmin amcclure@ttm.sh
|
2019-02-16 01:42:17 +00:00
|
|
|
ServerName phoenix.thunix.cf
|
|
|
|
DocumentRoot /var/www/thunix.cf
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
<Directorymatch "^/.*/\.git/">
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</Directorymatch>
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteCond %{SERVER_NAME} =phoenix.thunix.cf
|
|
|
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
|
|
|
</VirtualHost>
|