-
-
Notifications
You must be signed in to change notification settings - Fork 864
Open
Labels
documentationDocumentation needs adjustmentDocumentation needs adjustment
Description
👋🏻 i am trying to document / add this feature symfony/symfony#58769
ref symfony/symfony-docs#20706 (comment)
but I am failing getting it:
is something as simple as this would work?
root /app/public
encode zstd br gzip
{$CADDY_SERVER_EXTRA_DIRECTIVES}
+ # dump static error pages via bin/console error:dump public/error_pages --force
+ handle_errors {
+ rewrite * /error_pages/{err.status_code}.html
+ file_server
+ }
@phpRoute {
not file {path}
}
rewrite @phpRoute index.php
@frontController path index.php
php @frontController
file_server {
hide *.php
}
Metadata
Metadata
Assignees
Labels
documentationDocumentation needs adjustmentDocumentation needs adjustment