From 9be329fb9a8ee81f10035c80f2a61c30ee1c741f Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 10 Dec 2021 18:30:33 +0100 Subject: [PATCH] copr-be: restrict cgi a bit more We don't need any other extension than php. --- roles/copr/backend/templates/lighttpd/lighttpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/lighttpd/lighttpd.conf b/roles/copr/backend/templates/lighttpd/lighttpd.conf index 5da09c8f9e..ac484824a3 100644 --- a/roles/copr/backend/templates/lighttpd/lighttpd.conf +++ b/roles/copr/backend/templates/lighttpd/lighttpd.conf @@ -350,7 +350,7 @@ $HTTP["url"] =~ "\.pdf$" { ## ## .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi ## -static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" ) +static-file.exclude-extensions = ( ".php" ) ## ## error-handler for status 404