Update sites-available to the working conf
This commit is contained in:
parent
3204405825
commit
7e5359ac79
|
@ -2,14 +2,14 @@
|
||||||
ServerAdmin webmaster@thunix.net
|
ServerAdmin webmaster@thunix.net
|
||||||
ServerName ftp.thunix.net
|
ServerName ftp.thunix.net
|
||||||
ServerAlias ftp.thunixme5v4rnoby.onion
|
ServerAlias ftp.thunixme5v4rnoby.onion
|
||||||
DocumentRoot /var/ftp
|
DocumentRoot /var/www/ftp.thunix.cf
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||||
<Directorymatch "^/.*/\.git/">
|
<Directorymatch "^/.*/\.git/">
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
<Directory /var/ftp>
|
<Directory /var/www/ftp.thunix.cf>
|
||||||
IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
|
IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
|
||||||
HeaderName HEADER.html
|
HeaderName HEADER.html
|
||||||
ReadmeName README.html
|
ReadmeName README.html
|
||||||
|
@ -18,28 +18,3 @@
|
||||||
ErrorDocument 404 default
|
ErrorDocument 404 default
|
||||||
</Directory>
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
<IfModule mod_ssl.c>
|
|
||||||
<VirtualHost *:443>
|
|
||||||
ServerAdmin webmaster@thunix.net
|
|
||||||
ServerName ftp.thunix.net
|
|
||||||
DocumentRoot /var/ftp
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
||||||
<Directorymatch "^/.*/\.git/">
|
|
||||||
Order deny,allow
|
|
||||||
Deny from all
|
|
||||||
</Directorymatch>
|
|
||||||
<Directory /var/ftp>
|
|
||||||
IndexOptions FancyIndexing NameWidth=* FoldersFirst ScanHTMLTitles DescriptionWidth=*
|
|
||||||
HeaderName HEADER.html
|
|
||||||
ReadmeName README.html
|
|
||||||
AllowOverride FileInfo Indexes
|
|
||||||
Options Indexes SymLinksIfOwnerMatch FollowSymLinks
|
|
||||||
ErrorDocument 404 default
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
||||||
SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.net/fullchain.pem
|
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.net/privkey.pem
|
|
||||||
</VirtualHost>
|
|
||||||
</IfModule>
|
|
||||||
|
|
|
@ -8,4 +8,7 @@
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteCond %{SERVER_NAME} =lukewarmcat.codes
|
||||||
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
</VirtualHost>
|
</VirtualHost>
|
|
@ -2,8 +2,8 @@
|
||||||
ServerAdmin naglfar@thunix.net
|
ServerAdmin naglfar@thunix.net
|
||||||
ServerName mightywcms.thunix.net
|
ServerName mightywcms.thunix.net
|
||||||
DocumentRoot /var/www/MightyWCMS
|
DocumentRoot /var/www/MightyWCMS
|
||||||
ErrorLog ${APACHE_LOG_DIR}/mightywcms/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.mightywcms.log
|
||||||
CustomLog ${APACHE_LOG_DIR}/mightywcms/access.log combined
|
CustomLog ${APACHE_LOG_DIR}/access.mightywcms.log combined
|
||||||
<Directory /var/www/MightyWCMS>
|
<Directory /var/www/MightyWCMS>
|
||||||
Options Indexes FollowSymLinks
|
Options Indexes FollowSymLinks
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
|
|
|
@ -10,20 +10,3 @@
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
<IfModule mod_ssl.c>
|
|
||||||
<VirtualHost *:443>
|
|
||||||
ServerAdmin webmaster@thunix.net
|
|
||||||
ServerName rpm.thunix.net
|
|
||||||
ServerAlias rpm.thunixme5v4rnoby.onion
|
|
||||||
DocumentRoot /var/www/rpm.thunix.net
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
||||||
<Directorymatch "^/.*/\.git/">
|
|
||||||
Order deny,allow
|
|
||||||
Deny from all
|
|
||||||
</Directorymatch>
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
||||||
SSLCertificateFile /etc/letsencrypt/live/rpm.thunix.net/fullchain.pem
|
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/rpm.thunix.net/privkey.pem
|
|
||||||
</VirtualHost>
|
|
||||||
</IfModule>
|
|
||||||
|
|
|
@ -8,21 +8,7 @@
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteCond %{SERVER_NAME} =staticadventures.netlib.re
|
||||||
|
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<IfModule mod_ssl.c>
|
|
||||||
<VirtualHost *:443>
|
|
||||||
ServerAdmin staticadventures@riseup.net
|
|
||||||
ServerName staticadventures.netlib.re
|
|
||||||
DocumentRoot /var/www/staticadventures.netlib.re
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
||||||
<Directorymatch "^/.*/\.git/">
|
|
||||||
Order deny,allow
|
|
||||||
Deny from all
|
|
||||||
</Directorymatch>
|
|
||||||
SSLCertificateFile /etc/letsencrypt/live/staticadventures.netlib.re/fullchain.pem
|
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/staticadventures.netlib.re/privkey.pem
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
||||||
</VirtualHost>
|
|
||||||
</IfModule>
|
|
||||||
|
|
|
@ -10,20 +10,3 @@
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</Directorymatch>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<IfModule mod_ssl.c>
|
|
||||||
<VirtualHost *:443>
|
|
||||||
ServerAdmin webmaster@thunix.net
|
|
||||||
ServerName stats.thunix.net
|
|
||||||
DocumentRoot /var/www/stats.thunix.net
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
||||||
<Directorymatch "^/.*/\.git/">
|
|
||||||
Order deny,allow
|
|
||||||
Deny from all
|
|
||||||
</Directorymatch>
|
|
||||||
SSLCertificateFile /etc/letsencrypt/live/stats.thunix.net/fullchain.pem
|
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/stats.thunix.net/privkey.pem
|
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
||||||
</VirtualHost>
|
|
||||||
</IfModule>
|
|
||||||
|
|
Loading…
Reference in New Issue