Skip to content
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

Feature request: add proxy support to HTTP-Client #572

Closed
dothebart opened this issue Mar 24, 2016 · 3 comments

Comments

@dothebart
Copy link

commented Mar 24, 2016

RSpamd tries to fetch http://rspamd.com/update/rspamd-1.2.ucl which may not work in a strict containered environment that doesn't allow access to external resources.
Usually these environments offer http proxies for that purpose.

Implementing proxies isn't that hard for http clients; the request line needs to contain the full URI:

GET http://rspamd.com/update/rspamd-1.2.ucl HTTP/1.1
...

instead of

GET /update/rspamd-1.2.ucl HTTP/1.1
Host: rspamd.com
...

and for shure connect the proxy ip/port instead of looking up the domain and connecting there.

usually these environments offer the environment variables http_proxy and https_proxy for the configuration.

@northalpha

This comment has been minimized.

Copy link

commented Mar 13, 2018

I would really like to configure an HTTP Proxy for list and general updates, therefore +1 :)

@vstakhov vstakhov added this to To do in Kanban via automation Mar 17, 2019

@vstakhov vstakhov moved this from To do to In progress in Kanban Mar 17, 2019

@vstakhov vstakhov added this to the 1.9.1 milestone Mar 17, 2019

vstakhov added a commit that referenced this issue Mar 18, 2019

vstakhov added a commit that referenced this issue Mar 18, 2019

vstakhov added a commit that referenced this issue Mar 18, 2019

@vstakhov

This comment has been minimized.

Copy link
Member

commented Mar 22, 2019

Actually I'm not sure about the status of this project. HTTPS proxying requires CONNECT method support which overcomplicates things. Why not use Nginx or other proxy in forward-proxy mode before Rspamd?

@vstakhov vstakhov moved this from In progress to Done in Kanban May 2, 2019

@stale

This comment has been minimized.

Copy link

commented May 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 21, 2019

@stale stale bot closed this May 28, 2019

@vstakhov vstakhov moved this from Done to Feedback in Kanban Jun 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
3 participants
You can’t perform that action at this time.