summaryrefslogtreecommitdiffstats
path: root/debian/config-dir/sites-available/000-default-ssl.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:49:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:49:28 +0000
commit4a39c8c178f2e9d7f2a90c316272e544d23fae00 (patch)
treededdcfbf26998fef6436e4e3c7fadd028d49196b /debian/config-dir/sites-available/000-default-ssl.conf
parentSetting ServerAdmin to root@localhost in default sites. (diff)
downloadapache2-4a39c8c178f2e9d7f2a90c316272e544d23fae00.tar.xz
apache2-4a39c8c178f2e9d7f2a90c316272e544d23fae00.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/000-default-ssl.conf')
-rw-r--r--debian/config-dir/sites-available/000-default-ssl.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/config-dir/sites-available/000-default-ssl.conf b/debian/config-dir/sites-available/000-default-ssl.conf
index 9f3593f..334f95b 100644
--- a/debian/config-dir/sites-available/000-default-ssl.conf
+++ b/debian/config-dir/sites-available/000-default-ssl.conf
@@ -1,4 +1,13 @@
<VirtualHost *:443>
+ # The ServerName directive sets the request scheme, hostname and port that
+ # the server uses to identify itself. This is used when creating
+ # redirection URLs. In the context of virtual hosts, the ServerName
+ # specifies what hostname must appear in the request's Host: header to
+ # 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 localhost
+
ServerAdmin root@localhost
DocumentRoot /var/www/html