Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 3627d29

Browse files
authored
Merge pull request #169 from SamKhGit/patch-1
Update Proxy settings for installation script
2 parents e5b8a27 + 69f97a3 commit 3627d29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc_source/sysman-install-ssm-proxy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ As of January 14, 2020, Windows Server 2008 is [no longer supported](https://www
1616
```
1717
$serviceKey = "HKLM:\SYSTEM\CurrentControlSet\Services\AmazonSSMAgent"
1818
$keyInfo = (Get-Item -Path $serviceKey).GetValue("Environment")
19-
$proxyVariables = @("http_proxy=hostname:port", "no_proxy=169.254.169.254")
19+
$proxyVariables = @("http_proxy=hostname:port", "https_proxy=hostname:port", "no_proxy=169.254.169.254")
2020
2121
If($keyInfo -eq $null)
2222
{
@@ -34,7 +34,7 @@ After running the preceding command, you can review the SSM Agent logs to confir
3434
2020-02-24 15:31:54 INFO Getting WinHTTP proxy default configuration: The operation completed successfully.
3535
2020-02-24 15:31:54 INFO Proxy environment variables:
3636
2020-02-24 15:31:54 INFO http_proxy: hostname:port
37-
2020-02-24 15:31:54 INFO https_proxy:
37+
2020-02-24 15:31:54 INFO https_proxy: hostname:port
3838
2020-02-24 15:31:54 INFO no_proxy: 169.254.169.254
3939
2020-02-24 15:31:54 INFO Starting Agent: amazon-ssm-agent - v2.3.871.0
4040
2020-02-24 15:31:54 INFO OS: windows, Arch: amd64
@@ -93,4 +93,4 @@ netsh winhttp show proxy
9393
netsh winhttp set proxy proxy-server="hostname:port" bypass-list="169.254.169.254"
9494
```
9595

96-
For more information about using Run Command, see [Running commands using Systems Manager Run Command](run-command.md)\.
96+
For more information about using Run Command, see [Running commands using Systems Manager Run Command](run-command.md)\.

0 commit comments

Comments
 (0)