This repository has been archived on 2024-01-01. You can view files and clone it, but cannot push or open issues or pull requests.
ansible/roles/webserver/files/etc/apache2/sites-available/rpm.thunix.net.conf

15 lines
511 B
Plaintext

<VirtualHost *:80 *:443>
ServerAdmin webmaster@thunix.net
ServerName rpm.thunix.net
SSLEngine on
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>
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
</VirtualHost>