summaryrefslogtreecommitdiff
path: root/apache2/sites-available/0_default.conf
diff options
context:
space:
mode:
Diffstat (limited to 'apache2/sites-available/0_default.conf')
-rw-r--r--apache2/sites-available/0_default.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/apache2/sites-available/0_default.conf b/apache2/sites-available/0_default.conf
new file mode 100644
index 0000000..ce390fb
--- /dev/null
+++ b/apache2/sites-available/0_default.conf
@@ -0,0 +1,19 @@
+<VirtualHost *:443>
+ ServerName wrong.example.com
+ ServerAdmin webmaster@example.com
+ DocumentRoot /home/webmaster/public_websites/wrong.example.com
+
+ Include conf.d/local-ssl.conf
+
+ ErrorLog ${APACHE_LOG_DIR}/wrong.example.com-error.log
+ CustomLog ${APACHE_LOG_DIR}/wrong.example.com-access.log combined
+</VirtualHost>
+<VirtualHost *:80>
+ ServerName wrong.example.com
+ ServerAlias wrong
+ ServerAdmin webmaster@example.com
+ DocumentRoot /home/webmaster/public_websites/wrong.example.com
+
+ ErrorLog ${APACHE_LOG_DIR}/wrong.example.com-error.log
+ CustomLog ${APACHE_LOG_DIR}/wrong.example.com-access.log combined
+</VirtualHost>