Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit 5dbae5e

Browse files
authored
Improve self-hosted docs about installation behind the proxy (#628)
1 parent 13fdc98 commit 5dbae5e

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/docs/self-hosted/index.mdx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Our recommendation is to download the [latest release of the self-hosted reposi
1010

1111
### Installing Behind a Proxy
1212

13-
In some enterprise setups there is no direct Internet connection, so you must use an HTTP proxy server. How do you install Sentry in this environment? Let us assume:
13+
In some enterprise setups there is no direct Internet connection, so you must use an HTTP proxy server. How do you install Sentry in this environment? Let us assume:
1414

1515
1. Your Sentry installation is running on Linux.
16-
1. `http://proxy:3128` is your proxy address.
17-
1. `127.0.0.0/8` is the only network that should be accessed without a proxy.
16+
2. `http://proxy:3128` is your proxy address.
17+
3. `127.0.0.0/8` is the only network that should be accessed without a proxy.
1818

1919
Here are the steps to follow:
2020

@@ -27,7 +27,11 @@ Environment="HTTPS_PROXY=http://proxy:3128"
2727
Environment="NO_PROXY=127.0.0.0/8"
2828
```
2929
3. Run `systemctl daemon-reload` and restart Docker with `systemctl restart docker.service`.
30-
4. To add your proxy environment variables into Sentry's Docker containers, create `~/.docker/config.json` with these contents:
30+
31+
From there you can run `./install.sh` like usual.
32+
33+
By default Sentry sends anonymous usage statistics to the Sentry team. It helps to improve the product. Also there can be different external integrations with third party services like Slack or Twilio. To make these features work it's required to allow Docker containers to access the Internet. To add your proxy environment variables into Sentry's Docker containers, create `~/.docker/config.json` with these contents:
34+
3135
```json
3236
{
3337
"proxies":
@@ -36,13 +40,13 @@ Environment="NO_PROXY=127.0.0.0/8"
3640
{
3741
"httpProxy": "http://proxy:3128",
3842
"httpsProxy": "http://proxy:3128",
39-
"noProxy": "127.0.0.0/8"
43+
"noProxy": "relay,web,sentry,127.0.0.0/8"
4044
}
4145
}
4246
}
4347
```
4448

45-
From there you can run `./install.sh` like usual.
49+
You can disable this feature by adding `SENTRY_BEACON = False` into `sentry.conf.py` file.
4650

4751
## Configuration
4852

0 commit comments

Comments
 (0)