google / google/inverting-proxy
Make the agent support connecting to backends over SSL
Open
agent
enhancement
help wanted
- Dominant language
- Go
- Stars
- 276
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Right now, the agent assumes that the backend server is connected to over HTTP (without SSL). That is normally the case since the agent is usually run on the same machine as the backend, but there is no reason to force that to be the case.
Ideally, we would allow the user to specify a full URL for the backend when starting the agent, and if that URL includes a scheme then we would honor it.
This would require changing (at least) the code [here](https://github.com/google/inverting-proxy/blob/3aa642d09dc80e0fec195c086c21bd0792a319fc/agent/agent.go#L69) that hard-codes the scheme as "http"
Contributor guide
Assessment
This issue has not been assessed yet.