aws / aws/amazon-ssm-agent

Reverse Proxy

Open
#350 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

Hey,

I have the agent installed as a hybrid instance and need to reverse proxy all HTTP/HTTPS requests through my personal domain. This restriction is set by my customer, as their firewall is restricted and will only allow us to whitelist a single domain.

I tried using the proxy settings to redirect to my reverse proxy (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-proxy-with-ssm-agent.html), but it didn't appear to work. If this is expected to work, does anyone know what the nginx settings would need to be to allow this to be forwarded?

Is there anyway for me to tell the ssm-agent to direct requests to my domain, which will then forward them along?
I'd be interested in any other tips if the ssm-agent cannot do this.

Thanks.

Contributor guide

Open the contributing guide

Research direction

Start with the proxy settings and the AWS Systems Manager proxy documentation linked in the issue, then investigate whether the hybrid agent can send HTTP/HTTPS traffic through a personal domain. The requested outcome is either confirmed nginx forwarding settings or a documented agent configuration that supports the reverse-proxy path.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go, nginx
Domain
cloud, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.