2023-06-28 18:53:51 +00:00
|
|
|
<VirtualHost *:80 *:443>
|
2019-02-10 03:53:27 +00:00
|
|
|
ServerAdmin webmaster@thunix.net
|
2019-09-08 20:20:42 +00:00
|
|
|
ServerName www.thunix.net
|
2023-06-28 19:11:46 +00:00
|
|
|
SSLEngine on
|
2023-07-10 15:21:10 +00:00
|
|
|
ServerAlias kbguajmip4jlr2k3vpscmvymtxqnft267ox2ij6pdrgb5jcvx3kctkyd.onion
|
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
|
2023-06-28 18:53:51 +00:00
|
|
|
<Directory /var/www/thunix.cf>
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride All
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
2019-02-10 03:53:27 +00:00
|
|
|
<Directorymatch "^/.*/\.git/">
|
2023-06-28 19:11:46 +00:00
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</Directorymatch>
|
2023-06-29 21:02:21 +00:00
|
|
|
Alias /webmail /var/www/rainloop
|
|
|
|
<Directory /var/www/rainloop>
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride All
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
2023-06-28 19:11:46 +00:00
|
|
|
RewriteEngine On
|
|
|
|
# Redirect permanent / https://thunix.net
|
|
|
|
|
|
|
|
SSLCertificateFile "/etc/letsencrypt/live/thunix.net/cert.pem"
|
|
|
|
SSLCertificateChainFile "/etc/letsencrypt/live/thunix.net/fullchain.pem"
|
|
|
|
SSLCertificateKeyFile "/etc/letsencrypt/live/thunix.net/privkey.pem"
|
2023-06-28 18:53:51 +00:00
|
|
|
</VirtualHost>
|