]> git.openstreetmap.org Git - chef.git/commitdiff
wordpress: enable CGIPassAuth
authorGrant Slater <github@firefishy.com>
Wed, 15 Mar 2023 12:02:27 +0000 (12:02 +0000)
committerGrant Slater <github@firefishy.com>
Wed, 15 Mar 2023 12:02:27 +0000 (12:02 +0000)
cookbooks/wordpress/templates/default/apache.erb

index 0e0790fdb8359f10e6d318a0759b9dddbdf1f8d1..d78d0dfb53157e2100b58b3b56aa888d20322bf5 100644 (file)
@@ -60,6 +60,9 @@
 
     Require all granted
 
+    # https://www.wp-pay.org/http-authorization-header-missing/
+    CGIPassAuth on
+
     <FilesMatch ".+\.ph(ar|p|tml)$">
       SetHandler "proxy:unix:/run/php/php-<%= @name %>-fpm.sock|fcgi://127.0.0.1"
     </FilesMatch>