Update 'roles/webserver/files/etc/apache2/sites-available/ftp.thunix.net.conf'

This commit is contained in:
Anton McClure 2019-05-14 14:06:05 -04:00
parent 34d869ea34
commit 5ea88b1017
1 changed files with 18 additions and 2 deletions

View File

@ -7,7 +7,15 @@
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
</Directorymatch>
<Directory /var/www/ftp.thunix.cf>
IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
HeaderName HEADER.html
ReadmeName README.html
AllowOverride FileInfo Indexes
Options Indexes SymLinksIfOwnerMatch FollowSymLinks
ErrorDocument 404 default
</Directory>
</VirtualHost>
<IfModule mod_ssl.c>
@ -20,7 +28,15 @@
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
</Directorymatch>
<Directory /var/www/ftp.thunix.cf>
IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
HeaderName HEADER.html
ReadmeName README.html
AllowOverride FileInfo Indexes
Options Indexes SymLinksIfOwnerMatch FollowSymLinks
ErrorDocument 404 default
</Directory>
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf