From: Grant Slater Date: Wed, 15 Mar 2023 12:02:27 +0000 (+0000) Subject: wordpress: enable CGIPassAuth X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/b32dc5c09a7565eebc030c97675842da45aa2dab wordpress: enable CGIPassAuth --- diff --git a/cookbooks/wordpress/templates/default/apache.erb b/cookbooks/wordpress/templates/default/apache.erb index 0e0790fdb..d78d0dfb5 100644 --- a/cookbooks/wordpress/templates/default/apache.erb +++ b/cookbooks/wordpress/templates/default/apache.erb @@ -60,6 +60,9 @@ Require all granted + # https://www.wp-pay.org/http-authorization-header-missing/ + CGIPassAuth on + SetHandler "proxy:unix:/run/php/php-<%= @name %>-fpm.sock|fcgi://127.0.0.1"