summaryrefslogtreecommitdiffstats
path: root/docs/Running-behind-apache.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 12:33:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 12:33:27 +0000
commit841395dd16f470e3c051a0a4fff5b91efc983c30 (patch)
tree4115f6eedcddda75067130b80acaff9e51612f49 /docs/Running-behind-apache.md
parentAdding upstream version 1.30.1. (diff)
downloadnetdata-841395dd16f470e3c051a0a4fff5b91efc983c30.tar.xz
netdata-841395dd16f470e3c051a0a4fff5b91efc983c30.zip
Adding upstream version 1.31.0.upstream/1.31.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--docs/Running-behind-apache.md19
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/Running-behind-apache.md b/docs/Running-behind-apache.md
index d1dc0e088..de95f55ea 100644
--- a/docs/Running-behind-apache.md
+++ b/docs/Running-behind-apache.md
@@ -7,29 +7,29 @@ custom_edit_url: https://github.com/netdata/netdata/edit/master/docs/Running-beh
Below you can find instructions for configuring an apache server to:
-1. proxy a single Netdata via an HTTP and HTTPS virtual host
-2. dynamically proxy any number of Netdata servers
-3. add user authentication
-4. adjust Netdata settings to get optimal results
+1. Proxy a single Netdata via an HTTP and HTTPS virtual host.
+2. Dynamically proxy any number of Netdata servers.
+3. Add user authentication.
+4. Adjust Netdata settings to get optimal results.
## Requirements
-Make sure your apache has installed `mod_proxy` and `mod_proxy_http`.
+Make sure your apache has `mod_proxy` and `mod_proxy_http` installed and enabled.
-On debian/ubuntu systems, install them with this:
+On Debian/Ubuntu systems, install apache, which already includes the two modules, using:
```sh
sudo apt-get install apache2
```
-Also make sure they are enabled:
+Enable them:
```sh
sudo a2enmod proxy
sudo a2enmod proxy_http
```
-Ensure your rewrite module is enabled:
+Also, enable the rewrite module:
```sh
sudo a2enmod rewrite
@@ -123,7 +123,6 @@ with this content:
```conf
<VirtualHost *:80>
- RewriteEngine On
ProxyRequests Off
ProxyPreserveHost On
@@ -167,7 +166,7 @@ Repeat the operation for as many servers as you need.
If you wish to add an authentication (user/password) to access your Netdata, do these:
-Install the package `apache2-utils`. On debian / ubuntu run `sudo apt-get install apache2-utils`.
+Install the package `apache2-utils`. On Debian/Ubuntu run `sudo apt-get install apache2-utils`.
Then, generate password for user `netdata`, using `htpasswd -c /etc/apache2/.htpasswd netdata`