perf: improve FrankenPHP config

This commit is contained in:
Kévin Dunglas 2024-11-16 10:59:22 +01:00 committed by Maxime Helias
parent 102fa40615
commit 1f3ea50cff

View File

@ -19,7 +19,7 @@
} }
} }
root * /app/public root /app/public
encode zstd br gzip encode zstd br gzip
mercure { mercure {
@ -44,5 +44,9 @@
# Disable Topics tracking if not enabled explicitly: https://github.com/jkarlin/topics # Disable Topics tracking if not enabled explicitly: https://github.com/jkarlin/topics
header ?Permissions-Policy "browsing-topics=()" header ?Permissions-Policy "browsing-topics=()"
php_server @phpRoute not file {path}
rewrite @phpRoute index.php
@frontController path index.php
php @frontController
file_server
} }