Update 'roles/webserver/files/etc/apache2/sites-available/wiki.thunix.net.conf'
This commit is contained in:
parent
aa5f353490
commit
a4b0cd132d
|
@ -1,4 +1,4 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80 *:443>
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin webmaster@thunix.net
|
||||||
ServerName wiki.thunix.net
|
ServerName wiki.thunix.net
|
||||||
DocumentRoot /var/www/wiki.thunix.net
|
DocumentRoot /var/www/wiki.thunix.net
|
||||||
|
@ -10,8 +10,10 @@
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directorymatch "^/.*/\.git/">
|
<Directorymatch "^/.*/\.git/">
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
Redirect permanent / https://wiki.thunix.net/
|
# Redirect permanent / https://wiki.thunix.net/
|
||||||
</VirtualHost>
|
SSLCertificateFile /etc/letsencrypt/live/thunix.net/fullchain.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/thunix.net/privkey.pem
|
||||||
|
</VirtualHost>
|
Loading…
Reference in New Issue