summaryrefslogtreecommitdiffstats
path: root/debian/config-dir/sites-available
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 07:22:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 07:22:14 +0000
commitefbf3db00da1633cebfb9a3fdd9c114229c91ce6 (patch)
treea30684abdd9960d27c91c139b090232b6ab14f2a /debian/config-dir/sites-available
parentSetting ServerAdmin to root@localhost in default sites. (diff)
downloadapache2-efbf3db00da1633cebfb9a3fdd9c114229c91ce6.tar.xz
apache2-efbf3db00da1633cebfb9a3fdd9c114229c91ce6.zip
Setting example ServerName localhost in default sites.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/config-dir/sites-available')
-rw-r--r--debian/config-dir/sites-available/000-default-ssl.conf1
-rw-r--r--debian/config-dir/sites-available/000-default.conf2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/config-dir/sites-available/000-default-ssl.conf b/debian/config-dir/sites-available/000-default-ssl.conf
index 1ab2e10..cbc0d2b 100644
--- a/debian/config-dir/sites-available/000-default-ssl.conf
+++ b/debian/config-dir/sites-available/000-default-ssl.conf
@@ -1,5 +1,6 @@
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
+ ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/html
diff --git a/debian/config-dir/sites-available/000-default.conf b/debian/config-dir/sites-available/000-default.conf
index 967e1db..6154f1f 100644
--- a/debian/config-dir/sites-available/000-default.conf
+++ b/debian/config-dir/sites-available/000-default.conf
@@ -6,7 +6,7 @@
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
- #ServerName www.example.com
+ ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/html