30 lines
1019 B
Plaintext
30 lines
1019 B
Plaintext
<VirtualHost *:80 *:443>
|
|
ServerAdmin webmaster@thunix.net
|
|
ServerName thunix.net
|
|
SSLEngine on
|
|
ServerAlias i5pmp326di6rgydkk4vzjbevncwkdreli2aak72btpg7sofhsadqqeid.onion thunix.tilde
|
|
DocumentRoot /var/www/thunix.cf
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
<Directory /var/www/thunix.cf>
|
|
Options FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
Alias /webmail /var/www/rainloop
|
|
<Directory /var/www/rainloop>
|
|
Options FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
<Directorymatch "^/.*/\.git/">
|
|
Order deny,allow
|
|
Deny from all
|
|
</Directorymatch>
|
|
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"
|
|
</VirtualHost> |