PromucFlow_constructor/deploy/docker/route-tests/echo.caddyfile
Shrikant Sharat Kandula e6ebfbaea1
fix: Remove Server header and allow all on port 80 (#29585)
Another attempt at #29550, which was reverted. Fallback is not happening
if cert provisioning fails _despite_ having the correct header. But with
the changes in this PR, since we'll listen on `:80`, fallback _will_
happen when cert provisioning fails due to incorrect domain
configuration.

We're also adding [Hurl](https://hurl.dev) based tests. They're not run
in any CI yet. That'll come in soon.
2023-12-18 09:44:31 +05:30

13 lines
207 B
Plaintext

{
admin off
}
http://:5050
respond "Scheme = '{scheme}'
X-Forwarded-Proto = '{header.x-forwarded-proto}'
Host = '{host}'
X-Forwarded-Host = '{header.x-forwarded-host}'
Forwarded = '{header.forwarded}'
"