Skip to content

Commit

Permalink
fix: stripprefix middleware correctly labeled to http
Browse files Browse the repository at this point in the history
  • Loading branch information
LEstradioto committed Jun 21, 2024
1 parent de7380f commit 5f3fed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/helpers/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ function fqdnLabelsForTraefik(string $uuid, Collection $domains, bool $is_force_
$middlewares = collect([]);
if ($is_stripprefix_enabled && ! str($image)->contains('ghost')) {
$labels->push("traefik.http.middlewares.{$http_label}-stripprefix.stripprefix.prefixes={$path}");
$middlewares->push("{$https_label}-stripprefix");
$middlewares->push("{$http_label}-stripprefix");
}
if ($is_gzip_enabled) {
$middlewares->push('gzip');
Expand Down

0 comments on commit 5f3fed3

Please sign in to comment.