Skip to content

Commit d1c22fc

Browse files
authored
Merge pull request #107 from reubenmiller/docs-backport-install-behind-proxy
docs: backport instructions to install from behind a http proxy
2 parents a15e2df + 13228a3 commit d1c22fc

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.0-2-g33faee4f56 main
1+
1.5.0-4-gd79d041ac9 main

versioned_docs/version-1.5.0/install/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@ curl -fsSL https://thin-edge.io/install.sh | sh -s
2424
wget -O - https://thin-edge.io/install.sh | sh -s
2525
```
2626

27+
If the device is in a network behind a HTTP Proxy, then you will need to set the `https_proxy` environment variable before installing %%te%%.
28+
29+
```sh
30+
export https_proxy="http://<username>:<password>@<ip>:<port>"
31+
32+
# Without authentication
33+
export https_proxy="http://127.0.0.1:8080"
34+
35+
# With authentication
36+
export https_proxy="http://user:password@127.0.0.1:8080"
37+
```
38+
2739
### Update using a package manager
2840

2941
%%te%% and its components can be updated by running the install.sh script again, or using the Linux package manager on your distribution.

versioned_docs/version-1.5.0/start/getting-started.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ curl -fsSL https://thin-edge.io/install.sh | sh -s
6666
wget -O - https://thin-edge.io/install.sh | sh -s
6767
```
6868

69+
If the device is in a network behind a HTTP Proxy, then you will need to set the `https_proxy` environment variable before installing %%te%%.
70+
71+
```sh
72+
export https_proxy="http://<username>:<password>@<ip>:<port>"
73+
74+
# Without authentication
75+
export https_proxy="http://127.0.0.1:8080"
76+
77+
# With authentication
78+
export https_proxy="http://user:password@127.0.0.1:8080"
79+
```
80+
6981
After a successful installation, it is possible to use %%te%% via the CLI and use the tedge commands.
7082

7183
:::info

0 commit comments

Comments
 (0)