Skip to content

Commit

Permalink
chore: simplify Caddyfile (Caddy 2.8)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Jun 27, 2024
1 parent 9c60e3c commit 37f5942
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions frankenphp/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
frankenphp {
{$FRANKENPHP_CONFIG}
}

# https://caddyserver.com/docs/caddyfile/directives#sorting-algorithm
order mercure after encode
order vulcain after reverse_proxy
order php_server before file_server
}

{$CADDY_EXTRA_CONFIG}
Expand All @@ -17,11 +12,8 @@
log {
# Redact the authorization query parameter that can be set by Mercure
format filter {
wrap console
fields {
uri query {
replace authorization REDACTED
}
request>uri query {
replace authorization REDACTED
}
}
}
Expand Down

0 comments on commit 37f5942

Please sign in to comment.