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

serve/docker: allow to customize proxy settings of docker plugin #5658

Merged
merged 1 commit into from Oct 18, 2021

Conversation

ivandeex
Copy link
Member

@ivandeex ivandeex commented Oct 3, 2021

What is the purpose of this change?

This patch allows users to adjust the following environment variables on the docker volume plugin:
HTTP_PROXY HTTPS_PROXY NO_PROXY

Most rclone backends are https(s) based and internally dial a provider's http(s) site using the rclone-extended go dialer honoring the environment settings above.
Note that since go 1.16 (see golang/go#40909) the semantics has changed slightly and HTTP_PROXY does not affect httpS connections anymore.

Was the change discussed in an issue or in the forum before?

No

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

@ncw Please review

@ivandeex ivandeex added this to the v1.57 milestone Oct 3, 2021
@ivandeex ivandeex requested a review from ncw October 3, 2021 17:18
@ivandeex ivandeex self-assigned this Oct 3, 2021
Copy link
Member

@ncw ncw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me - please merge :-)

@ivandeex ivandeex merged commit bbcc9a4 into rclone:master Oct 18, 2021
@ivandeex ivandeex deleted the pr-docker-proxy-vars branch October 18, 2021 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants