Updating confs

This commit is contained in:
Ubergeek
2019-02-16 01:42:17 +00:00
parent 50c0b5cecd
commit 9138fcc9fc
9 changed files with 146 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<VirtualHost *:80>
ServerAdmin webmaster@thunix.net
ServerName dev.thunix.cf
DocumentRoot /var/www/dev.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} =dev.thunix.cf
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>