ansible/roles/webserver/files/etc/apache2/sites-available/forums.thunix.net.conf

31 lines
1.1 KiB
Plaintext
Raw Normal View History

<VirtualHost *:80>
ServerAdmin webmaster@thunix.net
ServerName forums.thunix.net
2019-05-24 13:40:18 +00:00
ServerAlias forums.thunixme5v4rnoby.onion
DocumentRoot /var/www/forums.thunix.net
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
</VirtualHost>
#<IfModule mod_ssl.c>
# <VirtualHost *:443>
# ServerAdmin webmaster@thunix.net
# ServerName forums.thunix.net
2019-05-24 13:40:18 +00:00
# ServerAlias forums.thunixme5v4rnoby.onion
# DocumentRoot /var/www/forums.thunix.net
# ErrorLog ${APACHE_LOG_DIR}/error.log
# CustomLog ${APACHE_LOG_DIR}/access.log combined
# <Directorymatch "^/.*/\.git/">
# Order deny,allow
# Deny from all
# </Directorymatch>
# SSLCertificateFile /etc/letsencrypt/live/forums.thunix.net/fullchain.pem
# SSLCertificateKeyFile /etc/letsencrypt/live/forums.thunix.net/privkey.pem
# Include /etc/letsencrypt/options-ssl-apache.conf
#</VirtualHost>
2019-05-24 13:40:18 +00:00
#</IfModule>