21 lines
807 B
Plaintext
21 lines
807 B
Plaintext
<VirtualHost *:80 *:443>
|
|
ServerAdmin webmaster@thunix.net
|
|
ServerName wiki.thunix.net
|
|
ServerAlias kbguajmip4jlr2k3vpscmvymtxqnft267ox2ij6pdrgb5jcvx3kctkyd.onion
|
|
SSLEngine on
|
|
DocumentRoot /var/www/wiki.thunix.net
|
|
ErrorLog ${APACHE_LOG_DIR}/error.wiki.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.wiki.log combined
|
|
<Directory /var/www/wiki.thunix.net>
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
<Directorymatch "^/.*/\.git/">
|
|
Order deny,allow
|
|
Deny from all
|
|
</Directorymatch>
|
|
# Redirect permanent / https://wiki.thunix.net/
|
|
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
|
|
</VirtualHost> |