Rewrite or redirect Firebase Function

You missed the space before the {. Spaces are important in the Caddyfile. The lexer tokenizes the config by using whitespace as the delimiter. Here, Caddy thinks your upstream is a placeholder because it contains { which isn’t allowed here (when using https:// as well).

1 Like