You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you will get the following error: adapting config using caddyfile: parsing caddyfile tokens for 'reverse_proxy': configuring 'handle_response' for status code replacement is no longer supported. Use 'replace_status' instead. even though you're not touching the status code.
@francislavoie This was from about 2 years ago; maybe it's time to revisit while we're at it? The previous line says // TODO: Remove this check at some point in the future.
If you use the following Caddyfile:
you will get the following error:
adapting config using caddyfile: parsing caddyfile tokens for 'reverse_proxy': configuring 'handle_response' for status code replacement is no longer supported. Use 'replace_status' instead.
even though you're not touching the status code.If you use either
or
no error is raised.
Seems to be a check implemented at
caddy/modules/caddyhttp/reverseproxy/caddyfile.go
Line 915 in 54a0c8f
handle_response
.The text was updated successfully, but these errors were encountered: