blob: ba010c7ca6368d3793a9ba588ee1f19f4635f363 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<VirtualHost *:8000>
ServerName localhost
DocumentRoot "${REPOSITORY}/views"
Alias /archives "${ARCHIVES_DIR}"
<FilesMatch \.php$>
SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/"
</FilesMatch>
RedirectMatch "^/$" /home/index.php
RedirectMatch "^/index.html$" /home/index.php
RedirectMatch "^/index.php$" /home/index.php
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
</VirtualHost>
|