We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b1611d commit 0065791Copy full SHA for 0065791
cookbook/configuration/web_server_configuration.rst
@@ -127,6 +127,9 @@ directive to pass requests for PHP files to PHP FPM:
127
ServerName domain.tld
128
ServerAlias www.domain.tld
129
130
+ # Force Apache to pass the Authorization header to PHP
131
+ SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
132
+
133
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/project/web/$1
134
135
DocumentRoot /var/www/project/web
0 commit comments