From 01992b2c226d8a1b25b0e95badc2a164386225d8 Mon Sep 17 00:00:00 2001 From: Anton McClure Date: Fri, 24 May 2019 09:40:18 -0400 Subject: [PATCH] torify some domains --- .../files/etc/apache2/sites-available/dev.thunix.net.conf | 1 + .../files/etc/apache2/sites-available/forums.thunix.net.conf | 4 +++- .../files/etc/apache2/sites-available/ftp.thunix.net.conf | 2 +- .../files/etc/apache2/sites-available/git.thunix.net.conf | 3 ++- .../files/etc/apache2/sites-available/lists.thunix.net.conf | 3 ++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/roles/webserver/files/etc/apache2/sites-available/dev.thunix.net.conf b/roles/webserver/files/etc/apache2/sites-available/dev.thunix.net.conf index e0a3db3..d83ca7d 100644 --- a/roles/webserver/files/etc/apache2/sites-available/dev.thunix.net.conf +++ b/roles/webserver/files/etc/apache2/sites-available/dev.thunix.net.conf @@ -1,6 +1,7 @@ ServerAdmin webmaster@thunix.net ServerName www.thunix.net + ServerAlias www.thunixme5v4rnoby.onion DocumentRoot /var/www/thunix.cf ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined diff --git a/roles/webserver/files/etc/apache2/sites-available/forums.thunix.net.conf b/roles/webserver/files/etc/apache2/sites-available/forums.thunix.net.conf index 0a3025b..d333e4f 100644 --- a/roles/webserver/files/etc/apache2/sites-available/forums.thunix.net.conf +++ b/roles/webserver/files/etc/apache2/sites-available/forums.thunix.net.conf @@ -1,6 +1,7 @@ ServerAdmin webmaster@thunix.net ServerName forums.thunix.net + ServerAlias forums.thunixme5v4rnoby.onion DocumentRoot /var/www/forums.thunix.net ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined @@ -14,6 +15,7 @@ # # ServerAdmin webmaster@thunix.net # ServerName forums.thunix.net +# ServerAlias forums.thunixme5v4rnoby.onion # DocumentRoot /var/www/forums.thunix.net # ErrorLog ${APACHE_LOG_DIR}/error.log # CustomLog ${APACHE_LOG_DIR}/access.log combined @@ -25,4 +27,4 @@ # SSLCertificateKeyFile /etc/letsencrypt/live/forums.thunix.net/privkey.pem # Include /etc/letsencrypt/options-ssl-apache.conf # -# \ No newline at end of file +# diff --git a/roles/webserver/files/etc/apache2/sites-available/ftp.thunix.net.conf b/roles/webserver/files/etc/apache2/sites-available/ftp.thunix.net.conf index 58dc1ab..f4d864f 100644 --- a/roles/webserver/files/etc/apache2/sites-available/ftp.thunix.net.conf +++ b/roles/webserver/files/etc/apache2/sites-available/ftp.thunix.net.conf @@ -1,8 +1,8 @@ ServerAdmin webmaster@thunix.net ServerName ftp.thunix.net - DocumentRoot /var/www/ftp.thunix.cf ServerAlias ftp.thunixme5v4rnoby.onion + DocumentRoot /var/www/ftp.thunix.cf ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined diff --git a/roles/webserver/files/etc/apache2/sites-available/git.thunix.net.conf b/roles/webserver/files/etc/apache2/sites-available/git.thunix.net.conf index 7aec235..43138f8 100644 --- a/roles/webserver/files/etc/apache2/sites-available/git.thunix.net.conf +++ b/roles/webserver/files/etc/apache2/sites-available/git.thunix.net.conf @@ -1,6 +1,7 @@ ServerAdmin webmaster@thunix.net ServerName git.thunix.net + ServerAlias git.thunixme5v4rnoby.onion DocumentRoot /var/www/git.thunix.net ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined @@ -25,4 +26,4 @@ # SSLCertificateKeyFile /etc/letsencrypt/live/git.thunix.net/privkey.pem # Include /etc/letsencrypt/options-ssl-apache.conf # -# \ No newline at end of file +# diff --git a/roles/webserver/files/etc/apache2/sites-available/lists.thunix.net.conf b/roles/webserver/files/etc/apache2/sites-available/lists.thunix.net.conf index 8c0749a..5a48f10 100644 --- a/roles/webserver/files/etc/apache2/sites-available/lists.thunix.net.conf +++ b/roles/webserver/files/etc/apache2/sites-available/lists.thunix.net.conf @@ -1,6 +1,7 @@ ServerAdmin webmaster@thunix.net ServerName lists.thunix.net + ServerAlias lists.thunixme5v4rnoby.onion DocumentRoot /var/www/lists.thunix.net ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined @@ -25,4 +26,4 @@ # SSLCertificateKeyFile /etc/letsencrypt/live/lists.thunix.net/privkey.pem # Include /etc/letsencrypt/options-ssl-apache.conf # -# \ No newline at end of file +#