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

This commit is contained in:
Anton McClure 2019-05-14 14:13:29 -04:00
parent 5ea88b1017
commit 4f89b24a9d
1 changed files with 16 additions and 0 deletions

View File

@ -8,6 +8,14 @@
Order deny,allow Order deny,allow
Deny from all 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> </VirtualHost>
<IfModule mod_ssl.c> <IfModule mod_ssl.c>
@ -21,6 +29,14 @@
Order deny,allow Order deny,allow
Deny from all 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 SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf Include /etc/letsencrypt/options-ssl-apache.conf