From 1d7b99ab11faf6589dc301d5ab5dc10be3aabae1 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Mon, 7 Oct 2024 14:30:36 -0500 Subject: [PATCH] http2 php-fpm working! --- deps-packaging/apache/httpd.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deps-packaging/apache/httpd.conf b/deps-packaging/apache/httpd.conf index 6c55344de..6fa1add54 100644 --- a/deps-packaging/apache/httpd.conf +++ b/deps-packaging/apache/httpd.conf @@ -228,9 +228,9 @@ LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so # need to pass Authorization headers to fpm for API requests SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 -ProxyPassMatch ^/api.*$ fcgi://127.0.0.1:9000/var/cfengine/httpd/htdocs/api/dispatch.php -ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/cfengine/httpd/htdocs/public/$1 -DirectoryIndex /index.php index.php + +SetHandler "proxy:fcgi://127.0.0.1:9000" +