2019-02-10 03:53:27 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerAdmin webmaster@thunix.net
|
2019-09-08 20:20:42 +00:00
|
|
|
ServerName www.thunix.net
|
|
|
|
ServerAlias www.thunix.tilde thunix.tilde
|
2019-05-25 15:29:59 +00:00
|
|
|
DocumentRoot /var/www/thunix.cf
|
2019-02-10 03:53:27 +00:00
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
<Directorymatch "^/.*/\.git/">
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</Directorymatch>
|
2019-07-09 01:54:33 +00:00
|
|
|
<IfModule mod_userdir.c>
|
|
|
|
UserDir public_html
|
|
|
|
UserDir disabled root
|
|
|
|
<Directory /home/*/public_html>
|
|
|
|
AllowOverride FileInfo AuthConfig Limit Indexes
|
|
|
|
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
|
|
|
|
Require method GET POST OPTIONS
|
|
|
|
</Directory>
|
|
|
|
</IfModule>
|
2020-02-23 02:41:39 +00:00
|
|
|
Redirect permanent / https://thunix.net/
|
|
|
|
|
2019-02-10 03:53:27 +00:00
|
|
|
</VirtualHost>
|