diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 02:06:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 02:06:00 +0000 |
commit | b0b2b9fe59d704cd3cc90813192918e43746903f (patch) | |
tree | cac811956056808222f75e10f3ec7afd8e8e6960 /debian/config-dir/sites-available | |
parent | Setting ServerAdmin to root@localhost in default sites. (diff) | |
download | apache2-b0b2b9fe59d704cd3cc90813192918e43746903f.tar.xz apache2-b0b2b9fe59d704cd3cc90813192918e43746903f.zip |
Setting example ServerName localhost in default sites.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/config-dir/sites-available/000-default-ssl.conf | 1 | ||||
-rw-r--r-- | debian/config-dir/sites-available/000-default.conf | 2 |
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 |