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
does bin/httpd reverse proxy mode follow location #518
Comments
curl support auto location,like this:
|
Thanks, I know that but the upstream server can leak sensitive data in the location url, I don't want it to be seen by the client or end user |
I know what you mean, but the current implementation is to directly forward the data from the backend server without parsing it, so it may not be that simple to implement. You may consider using nginx as a reverse proxy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using bin/httpd -p 8080 with configuration file : /A/ => http://website2/B/
now using
curl -v http://127.0.0.1:8080/A/test I got :
< HTTP/1.1 302 Found
< Server: nginx
< Date: Tue, 09 Apr 2024 01:13:26 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Location: http://website2/C
I want to be able to get the content directly (/bin/httpd does the follow location and revisit http://website2/C)
can I just configure that in httpd.conf or I have to make change to source code ?
The text was updated successfully, but these errors were encountered: