Reverse Proxy using coraza response status 302 sending with 200 statusOK #874
Unanswered
Nihilistttt
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Hi @Nihilistttt I don't fully get the context. Are you using the net/http wrapper? If so, how do you deploy it in front of your server? |
Beta Was this translation helpful? Give feedback.
1 reply
-
When you say "reverseproxy" you mean https://go.dev/src/net/http/httputil/reverseproxy.go ? If so, could you make a simple code pointing to httpbin http://httpbin.org/? Are you using https? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm using coraza with my reverse proxy application. When I use http.wraphandler with my response and request, server sends location header and 302 status code. I don't know why but at the end of the wraphandler status code changing into 200 and client gets 200 so It will not redirect it into new location.
I really preciate any help.
Server side : Nginx + WordPress
example link who wants to try http://examplesite.com/wp-admin/
this link sends 302 but client side (web browser) gets 200
Beta Was this translation helpful? Give feedback.
All reactions