forked from iusrepo/php72u
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhttpd-fpm.conf
More file actions
22 lines (17 loc) · 715 Bytes
/
httpd-fpm.conf
File metadata and controls
22 lines (17 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This configuration requires httpd 2.4 with support for UDS (Unix domain
# sockets). This was added upstream in version 2.4.10, and was also backported
# to 2.4.6 in EL7.
# The following lines prevent .user.ini files from being viewed by Web clients.
<Files ".user.ini">
Require all denied
</Files>
# Allow php to handle Multiviews.
AddType text/html .php
# Add index.php to the list of files that will be served as directory indexes.
DirectoryIndex index.php
# Enable http authorization headers.
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9000"
#SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost"
</FilesMatch>