From 16b29d398fe081c9af4695487ab4f70ae2e26dd4 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 10 Dec 2019 08:07:28 +0100 Subject: [PATCH] copr: frontend: drop useless NameVirtualHost directive From apache docs: Prior to 2.3.11, NameVirtualHost was required to instruct the server that a particular IP address and port combination was usable as a name-based virtual host. In 2.3.11 and later, any time an IP address and port combination is used in multiple virtual hosts, name-based virtual hosting is automatically enabled for that address. --- roles/copr/frontend-cloud/templates/httpd/coprs.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/copr/frontend-cloud/templates/httpd/coprs.conf b/roles/copr/frontend-cloud/templates/httpd/coprs.conf index 1f8a490f8e..c3debd2a87 100644 --- a/roles/copr/frontend-cloud/templates/httpd/coprs.conf +++ b/roles/copr/frontend-cloud/templates/httpd/coprs.conf @@ -1,4 +1,3 @@ -NameVirtualHost *:80 LoadModule wsgi_module modules/mod_wsgi.so WSGISocketPrefix /var/run/wsgi Alias /robots.txt /var/www/html/robots.txt