Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
12 changes: 7 additions & 5 deletions virtualhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@
BrotliCompressionQuality 4
AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript image/svg+xml

UseCanonicalName Off
# Sets the HTTP_AUTHORIZATION header removed by Apache
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1

ProxyPassMatch "^/(.*\.php(/.*)?)$" "fcgi://${PHP_CONTAINER_NAME}:9000${DOCUMENT_ROOT}/$1"
<FilesMatch \.php$>
SetHandler proxy:fcgi://${PHP_CONTAINER_NAME}:9000
</FilesMatch>

DocumentRoot ${DOCUMENT_ROOT}
<Directory ${DOCUMENT_ROOT}>
DirectoryIndex index.php

Options FollowSymlinks
AllowOverride All
FallbackResource /index.php
Options FollowSymlinks
Require all granted
</Directory>
</VirtualHost>
Loading