Update sites-available to the working conf

This commit is contained in:
Naglfar
2021-09-29 20:07:41 +02:00
parent 3204405825
commit 7e5359ac79
6 changed files with 11 additions and 81 deletions

View File

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