Update 'roles/webserver/files/etc/apache2/sites-available/www.thunix.cf.conf'
This commit is contained in:
parent
2ec3bc06af
commit
e0604f6db2
|
@ -8,6 +8,15 @@
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
<IfModule mod_userdir.c>
|
||||||
|
UserDir public_html
|
||||||
|
UserDir disabled root
|
||||||
|
<Directory /home/*/public_html>
|
||||||
|
AllowOverride FileInfo AuthConfig Limit Indexes
|
||||||
|
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
|
||||||
|
Require method GET POST OPTIONS
|
||||||
|
</Directory>
|
||||||
|
</IfModule>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
|
@ -20,7 +29,15 @@
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
<IfModule mod_userdir.c>
|
||||||
|
UserDir public_html
|
||||||
|
UserDir disabled root
|
||||||
|
<Directory /home/*/public_html>
|
||||||
|
AllowOverride FileInfo AuthConfig Limit Indexes
|
||||||
|
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
|
||||||
|
Require method GET POST OPTIONS
|
||||||
|
</Directory>
|
||||||
|
</IfModule>
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
SSLCertificateFile /etc/letsencrypt/live/www.thunix.cf/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/www.thunix.cf/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/www.thunix.cf/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/www.thunix.cf/privkey.pem
|
||||||
|
|
Loading…
Reference in New Issue