diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9f11b75
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.idea/
diff --git a/virtualhost.conf b/virtualhost.conf
index 64f7200..0b7cd8b 100644
--- a/virtualhost.conf
+++ b/virtualhost.conf
@@ -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"
+
+ SetHandler proxy:fcgi://${PHP_CONTAINER_NAME}:9000
+
DocumentRoot ${DOCUMENT_ROOT}
- DirectoryIndex index.php
-
- Options FollowSymlinks
AllowOverride All
+ FallbackResource /index.php
+ Options FollowSymlinks
Require all granted