Update 'roles/webserver/files/etc/apache2/sites-available/www.thunix.cf.conf'

This commit is contained in:
Anton McClure 2019-07-08 21:54:42 -04:00
parent 2ec3bc06af
commit e0604f6db2
1 changed files with 18 additions and 1 deletions

View File

@ -8,6 +8,15 @@
Order deny,allow
Deny from all
</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>
<IfModule mod_ssl.c>
<VirtualHost *:443>
@ -20,7 +29,15 @@
Order deny,allow
Deny from all
</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
SSLCertificateFile /etc/letsencrypt/live/www.thunix.cf/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.thunix.cf/privkey.pem