Update 'roles/webserver/files/etc/apache2/sites-available/ftp.thunix.net.conf'
This commit is contained in:
parent
34d869ea34
commit
5ea88b1017
|
@ -7,7 +7,15 @@
|
||||||
<Directorymatch "^/.*/\.git/">
|
<Directorymatch "^/.*/\.git/">
|
||||||
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>
|
||||||
|
@ -20,7 +28,15 @@
|
||||||
<Directorymatch "^/.*/\.git/">
|
<Directorymatch "^/.*/\.git/">
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue