mirror of https://github.com/MISP/MISP
Pass Authorization HTTP header to php-fpm environment
parent
8443b3d4ea
commit
a01845fea4
|
@ -10,6 +10,7 @@
|
|||
</Directory>
|
||||
|
||||
<IfModule !mod_php5.c>
|
||||
SetEnvIfNoCase Authorization "(.*)" HTTP_AUTHORIZATION=$1
|
||||
DirectoryIndex /index.php index.php
|
||||
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/MISP/app/webroot/$1
|
||||
</IfModule>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
</Directory>
|
||||
|
||||
<IfModule !mod_php5.c>
|
||||
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
|
||||
DirectoryIndex /index.php index.php
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
||||
|
|
Loading…
Reference in New Issue