Skip to content

Switch to Rewrite, also add ErrorHandler #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 1, 2023
Merged

Switch to Rewrite, also add ErrorHandler #89

merged 4 commits into from
May 1, 2023

Conversation

ldemailly
Copy link
Member

@ldemailly ldemailly commented Apr 30, 2023

Use go1.20 improved ReverseProxy.Rewrite api

Also introduce ErrorHandler for 404s on NoRoute (though a bit awkward through a marker, it would be nice to have a more explicit way to decide to not proxy)

Also added govulncheck and golangci-lint in action

Fixes #44
Avoids golang/go#50580

@ldemailly ldemailly mentioned this pull request Apr 30, 2023
@ldemailly ldemailly added this pull request to the merge queue May 1, 2023
Merged via the queue into main with commit 93f47cc May 1, 2023
@ldemailly ldemailly deleted the rewrite branch May 7, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

look at go 1.20 New ReverseProxy Rewrite hook
2 participants