From ab30fa13ca7cbcd7824f316bbbf820fc3733d2d3 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 29 Dec 2023 10:46:13 -0600 Subject: [PATCH] file-servers: Set Apache ServerName Since *file0.pyrocufflink.blue* now hosts a couple of VirtualHosts, accessing its HTTP server by the *files.pyrocufflink.blue* alias no longer works, as Apache routes unknown hostnames to the first VirtualHost, rather than the global configuration. To resolve this, we must set `ServerName` to the alias. --- group_vars/file-servers.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/group_vars/file-servers.yml b/group_vars/file-servers.yml index 53a4f99..effad18 100644 --- a/group_vars/file-servers.yml +++ b/group_vars/file-servers.yml @@ -1 +1,2 @@ apache_userdir: public_html +apache_server_name: files.pyrocufflink.blue