diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 07:22:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 07:22:14 +0000 |
commit | efbf3db00da1633cebfb9a3fdd9c114229c91ce6 (patch) | |
tree | a30684abdd9960d27c91c139b090232b6ab14f2a | |
parent | Setting ServerAdmin to root@localhost in default sites. (diff) | |
download | apache2-efbf3db00da1633cebfb9a3fdd9c114229c91ce6.tar.xz apache2-efbf3db00da1633cebfb9a3fdd9c114229c91ce6.zip |
Setting example ServerName localhost in default sites.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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 |