summaryrefslogtreecommitdiffstats
path: root/docs/Running-behind-apache.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Running-behind-apache.md')
-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`