mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-24 05:30:18 +00:00
Update 'roles/webserver/files/etc/apache2/sites-available/wiki.thunix.net.conf'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<VirtualHost *:80>
|
||||
<VirtualHost *:80 *:443>
|
||||
ServerAdmin webmaster@thunix.net
|
||||
ServerName wiki.thunix.net
|
||||
DocumentRoot /var/www/wiki.thunix.net
|
||||
@@ -10,8 +10,10 @@
|
||||
Require all granted
|
||||
</Directory>
|
||||
<Directorymatch "^/.*/\.git/">
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Directorymatch>
|
||||
Redirect permanent / https://wiki.thunix.net/
|
||||
</VirtualHost>
|
||||
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>
|
||||
Reference in New Issue
Block a user