Update 'roles/webserver/files/etc/apache2/sites-available/rpm.thunix.net.conf'
This commit is contained in:
parent
4f68c4db91
commit
f4570f2436
|
@ -1,11 +1,14 @@
|
|||
<VirtualHost *:80>
|
||||
ServerAdmin webmaster@thunix.net
|
||||
<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
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Directorymatch>
|
||||
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
|
||||
</VirtualHost>
|
||||
|
|
Reference in New Issue