2019-02-16 01:42:17 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerAdmin webmaster@thunix.net
|
2019-02-16 02:02:10 +00:00
|
|
|
ServerName ftp.thunix.net
|
2019-05-24 12:42:41 +00:00
|
|
|
ServerAlias ftp.thunixme5v4rnoby.onion
|
2020-12-16 12:17:38 +00:00
|
|
|
DocumentRoot /var/ftp
|
2019-02-16 01:42:17 +00:00
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
<Directorymatch "^/.*/\.git/">
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
2019-05-14 18:06:05 +00:00
|
|
|
</Directorymatch>
|
2020-12-16 12:17:38 +00:00
|
|
|
<Directory /var/ftp>
|
2019-05-14 18:06:05 +00:00
|
|
|
IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
|
|
|
|
HeaderName HEADER.html
|
|
|
|
ReadmeName README.html
|
|
|
|
AllowOverride FileInfo Indexes
|
|
|
|
Options Indexes SymLinksIfOwnerMatch FollowSymLinks
|
|
|
|
ErrorDocument 404 default
|
|
|
|
</Directory>
|
2019-02-16 01:42:17 +00:00
|
|
|
</VirtualHost>
|
2019-05-24 20:17:58 +00:00
|
|
|
<IfModule mod_ssl.c>
|
|
|
|
<VirtualHost *:443>
|
2019-02-16 01:42:17 +00:00
|
|
|
ServerAdmin webmaster@thunix.net
|
2019-05-24 20:17:58 +00:00
|
|
|
ServerName ftp.thunix.net
|
2020-12-16 12:17:38 +00:00
|
|
|
DocumentRoot /var/ftp
|
2019-02-16 01:42:17 +00:00
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
<Directorymatch "^/.*/\.git/">
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
2019-05-24 20:17:58 +00:00
|
|
|
</Directorymatch>
|
2020-12-16 12:17:38 +00:00
|
|
|
<Directory /var/ftp>
|
2019-05-14 18:06:05 +00:00
|
|
|
IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
|
|
|
|
HeaderName HEADER.html
|
|
|
|
ReadmeName README.html
|
|
|
|
AllowOverride FileInfo Indexes
|
|
|
|
Options Indexes SymLinksIfOwnerMatch FollowSymLinks
|
|
|
|
ErrorDocument 404 default
|
|
|
|
</Directory>
|
2019-05-24 20:17:58 +00:00
|
|
|
|
|
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
2019-05-25 14:22:39 +00:00
|
|
|
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.net/fullchain.pem
|
|
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.net/privkey.pem
|
2019-05-24 20:17:58 +00:00
|
|
|
</VirtualHost>
|
|
|
|
</IfModule>
|